xc
|
Uniform load over 3D beams. More...
#include <Beam3dUniformLoad.h>
Public Member Functions | |
Beam3dUniformLoad (int tag, double wy, double wz, double wx, double tx, const ID &theElementTags) | |
Beam3dUniformLoad (int tag, const Vector &Fxyz, double tx, const ID &theElementTags) | |
Beam3dUniformLoad (int tag) | |
const double & | Wx (void) const |
const double & | Wy (void) const |
const double & | Wz (void) const |
const double & | Tx (void) const |
double | getTransZComponent (void) |
void | setTransZComponent (const double &d) |
void | setTorsor (const double &d) |
double | getTorsor (void) |
const Vector & | getData (int &type, const double &loadFactor) const |
size_t | getForceVectorDimension (void) const |
Return the dimension of the force vector. | |
size_t | getMomentVectorDimension (void) const |
Return the dimension of the bending moment vector. | |
virtual Vector | getLocalForce (void) const |
Returns force expressed in local coordinates. | |
virtual Vector | getLocalMoment (void) const |
Returns moment expressed in local coordinates. | |
const Matrix & | getLocalForces (void) const |
Returns distributed force vectors (one for each element) expressed in local coordinates. | |
const Matrix & | getLocalMoments (void) const |
Returns distributed moment vectors (one for each element) expressed in local coordinates. | |
const Matrix & | getAppliedSectionForces (const double &L, const Matrix &xi, const double &loadFactor) const |
Applied section forces due to element uniform load. | |
void | addReactionsInBasicSystem (const std::vector< double > &, const double &, FVector &) const |
Adds the load al consistent load vector (see page 108 libro Eugenio Oñate). More... | |
void | addFixedEndForcesInBasicSystem (const std::vector< double > &L, const double &loadFactor, FVector &, int releasey=0, int releasez=0) const |
Returns the consistent load vector (see page 108 Eugenio Oñate book). More... | |
void | addElasticDeformations (const double &L, const CrossSectionProperties3d &ctes_scc, const double &lpI, const double &lpJ, const double &loadFactor, FVector &v0) |
Adds elastic strains to the v0 vector. | |
int | sendSelf (Communicator &) |
Send the object. More... | |
int | recvSelf (const Communicator &) |
Receive the object. More... | |
void | Print (std::ostream &s, int flag=0) const |
Print stuff. | |
Public Member Functions inherited from XC::BeamUniformLoad | |
BeamUniformLoad (int tag, int classTag, double wTrans, double wAxial, const ID &theElementTags) | |
Constructor. | |
BeamUniformLoad (int tag, int classTag) | |
Constructor. | |
BeamUniformLoad (int classTag) | |
Constructor. | |
std::string | Category (void) const |
Return the category of the load. More... | |
const Matrix & | getDistributedLocalForces (void) const |
Returns distributed force vectors (one for each element) expressed in element local coordinates. Is simply a convenience function that makes the distributedness more explicit. | |
const Matrix & | getDistributedLocalMoments (void) const |
Returns distributed moments (one for each element) expressed in element local coordinates. Is simply a convenience function that makes the distributedness more explicit. | |
const Matrix & | getDistributedGlobalForces (void) const |
Returns distributed force vectors (one for each element) expressed in global coordinates. Is simply a convenience function that makes the distributedness more explicit. | |
const Matrix & | getDistributedGlobalMoments (void) const |
Returns distributed moments (one for each element) expressed in global coordinates. Is simply a convenience function that makes the distributedness more explicit. | |
virtual SlidingVectorsSystem3d | getResultant (const Pos3d &p=Pos3d(), bool initialGeometry=true) const |
brief Returns load resultant (force and moment integration over the elements). | |
Public Member Functions inherited from XC::BeamMecLoad | |
BeamMecLoad (int tag, int classTag, const double &Trans, const double &Axial, const ID &theElementTags) | |
BeamMecLoad (int tag, int classTag) | |
double | getTransComponent (void) const |
double | getAxialComponent (void) const |
void | setTransComponent (const double &t) |
void | setAxialComponent (const double &a) |
void | addElasticDeformations (const double &L, const CrossSectionProperties3d &ctes_scc, const double &lpI, const double &lpJ, const double &loadFactor, FVector &v0) |
void | addElasticDeformations (const double &L, const CrossSectionProperties2d &ctes_scc, const double &lpI, const double &lpJ, const double &loadFactor, FVector &v0) |
virtual const Matrix & | getGlobalVectors (const Matrix &) const |
virtual const Matrix & | getGlobalForces (void) const |
Returns punctual/distributed force vectors (one for each element) expressed in global coordinates. | |
virtual const Matrix & | getGlobalMoments (void) const |
Returns punctual/distributed moment vectors (one for each element) expressed in global coordinates. | |
Vector3d | getVector3dLocalForce (void) const |
Return the local components of the force in a Vector3d. More... | |
Vector3d | getVector3dLocalMoment (void) const |
Return the local components of the moment in a Vector3d. More... | |
void | Print (std::ostream &s, int flag=0) const |
Print stuff. | |
Public Member Functions inherited from XC::BeamLoad | |
BeamLoad (int tag, int classTag, const ID &theElementTags) | |
BeamLoad (int tag, int classTag) | |
Public Member Functions inherited from XC::ElementBodyLoad | |
ElementBodyLoad (int classTag) | |
Constructor. More... | |
ElementBodyLoad (int tag, int classTag) | |
Constructor. | |
ElementBodyLoad (int tag, int classTag, const ID &theElementTags) | |
Constructor. | |
virtual void | setDomain (Domain *theDomain) |
Set the domain for the load (assigns the pointers to the elements. More... | |
virtual void | applyLoad (double loadfactor) |
Applies the load to the elements. | |
virtual int | removeElement (int tag) |
Removes the element from those affected by the load. More... | |
void | Print (std::ostream &s, int flag=0) const |
Print stuff. | |
Public Member Functions inherited from XC::ElementalLoad | |
ElementalLoad (int tag=0, int classTag=0) | |
Constructor. More... | |
ElementalLoad (int tag, int classTag, const ID &) | |
Constructor. More... | |
int | numElements (void) const |
Return the number of loaded elements. | |
int | setElementTags (const ID &) |
Sets the identifiers of the loaded elements. | |
int | setElementTagsFromSet (const SetBase &) |
Sets the identifiers of the loaded elements. | |
virtual const ID & | getElementTags (void) const |
Return the identifiers of the loaded elements. | |
virtual const Vector & | getSensitivityData (const int &gradIndex) const |
Public Member Functions inherited from XC::Load | |
Load (int tag, int classTag) | |
Constructor. More... | |
virtual void | setLoadPatternTag (int loadPaternTag) |
Sets the identifier of the pattern to which the load belongs. | |
virtual int | getLoadPatternTag (void) const |
Return the identifier of the pattern to which the load belongs. More... | |
Public Member Functions inherited from XC::DomainComponent | |
~DomainComponent (void) | |
Destructor. | |
size_t | getIdx (void) const |
Returns the index of the object (to be used in VTK arrays). | |
virtual Domain * | getDomain (void) const |
Returns a pointer to the enclosing domain. More... | |
const Preprocessor * | getPreprocessor (void) const |
Returns (if possible) a pointer to the preprocessor. | |
Preprocessor * | getPreprocessor (void) |
Return (if possible) a pointer to the preprocessor. | |
const LoadPattern * | getCurrentLoadPattern (void) const |
Return the current load pattern. | |
LoadPattern * | getCurrentLoadPattern (void) |
Return the current load pattern. | |
void | set_index (const size_t &i) |
Set the index for the object (see numera in Set). More... | |
boost::python::dict | getPyDict (void) const |
Return a Python dictionary with the object members values. | |
void | setPyDict (const boost::python::dict &) |
Set the values of the object members from a Python dictionary. | |
Public Member Functions inherited from XC::TaggedObject | |
TaggedObject (int tag, CommandEntity *owr=nullptr) | |
Constructor. More... | |
virtual TaggedObject * | getCopy (void) const |
Virtual constructor. | |
void | assignTag (int newTag) |
Set tag (to be called from Python interface). | |
int | getTag (void) const |
Returns the tag associated with the object. | |
boost::python::dict | getPyDict (void) const |
Return a Python dictionary with the object members values. | |
void | setPyDict (const boost::python::dict &) |
Set the values of the object members from a Python dictionary. | |
Public Member Functions inherited from CommandEntity | |
CommandEntity (CommandEntity *owr=nullptr) | |
Default constructor. | |
CommandEntity * | Owner (void) |
Return a pointer to the object owner. | |
const CommandEntity * | Owner (void) const |
Return un puntero al objeto propietario de ESTE. | |
const StandardOutputWrapper & | getStandardOutputWrapper (void) const |
Return the regular output stream wrapper. | |
StandardOutputWrapper & | getStandardOutputWrapper (void) |
Return the regular output stream wrapper. | |
const std::string & | getLogFileName (void) const |
Returns log file name. | |
void | setLogFileName (const std::string &) |
Sets log file name. | |
const std::string & | getErrFileName (void) const |
Returns err file name. | |
void | setErrFileName (const std::string &) |
Sets error file name. | |
const std::string & | getOutputFileName (void) const |
Returns regular output file name. | |
void | setOutputFileName (const std::string &) |
Sets regular output file name. | |
boost::python::object | evalPy (boost::python::object dict, const std::string &) |
Return the Python object that results from evaluating the argument. | |
boost::python::object | execPy (boost::python::object dict, const std::string &) |
Return the Python objects that results from executing the code in the string argument. | |
boost::python::object | execFilePy (boost::python::object dict, const std::string &) |
Return the Python object that results from executing the code in the file. | |
Public Member Functions inherited from EntityWithProperties | |
EntityWithProperties (EntityWithProperties *owr=nullptr) | |
Default constructor. | |
virtual bool | operator== (const EntityWithProperties &) const |
Comparison operator. | |
void | clearPyProps (void) |
Clear python properties map. | |
bool | hasPyProp (const std::string &) |
Returns true if property exists. | |
boost::python::object | getPyProp (const std::string &str) |
Return the Python object with the name being passed as parameter. | |
void | setPyProp (std::string str, boost::python::object val) |
Sets/appends a value tho the Python object's dictionary. | |
void | copyPropsFrom (const EntityWithProperties &) |
Copy the properties from the argument. | |
boost::python::list | getPropNames (void) const |
Return the names of the object properties weightings. | |
const PythonDict & | getPropertiesDict (void) const |
Return a std::map container with the properties of the object. | |
Public Member Functions inherited from EntityWithOwner | |
EntityWithOwner (EntityWithOwner *owr=nullptr) | |
Default constructor. | |
EntityWithOwner (const EntityWithOwner &) | |
Copy constructor. | |
EntityWithOwner & | operator= (const EntityWithOwner &) |
Assignment operator. | |
virtual bool | operator== (const EntityWithOwner &) const |
Comparison operator. | |
virtual | ~EntityWithOwner (void) |
Virtual destructor. | |
virtual std::string | getClassName (void) const |
Returns demangled class name. | |
void | set_owner (EntityWithOwner *owr) |
Assigns the owner of the object. | |
EntityWithOwner * | Owner (void) |
const EntityWithOwner * | Owner (void) const |
Public Member Functions inherited from XC::MovableObject | |
MovableObject (int classTag, int dbTag) | |
Constructor. More... | |
MovableObject (int classTag) | |
Constructor. More... | |
MovableObject (const MovableObject &) | |
Copy constructor. Doesn't copy the dbTag. | |
MovableObject & | operator= (const MovableObject &) |
Assignment operator. Doesn't copy the dbTag. | |
int | getClassTag (void) const |
Return the class identifier. | |
int | getDbTag (void) const |
Return the object identifier in the database. | |
int | getDbTag (Communicator &) |
Return the object identifier in the database. | |
void | setDbTag (int dbTag) |
Sets the object identifier in the database. | |
void | setDbTag (Communicator &) |
Sets the object identifier in the database if not already set. More... | |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
Sets the value param to the parameter argv . | |
virtual int | updateParameter (int parameterID, Information &info) |
Updates the parameter identified by parameterID with info . | |
virtual int | activateParameter (int parameterID) |
Activates the parameter identified by parameterID . | |
virtual int | setVariable (const std::string &variable, Information &) |
Set the value of the variable idenfified by var . | |
virtual int | getVariable (const std::string &variable, Information &) |
Return the value of the variable idenfified by var . | |
Public Member Functions inherited from XC::DistributedBase | |
DistributedBase (void) | |
Constructor. | |
virtual | ~DistributedBase (void) |
Destructor. | |
const int & | getDbTagDataPos (const int &i) const |
Returns the data at the i-th position. | |
void | setDbTagDataPos (const int &i, const int &v) |
Sets the data at the i-th position. | |
void | inicComm (const int &dataSize) const |
Initializes communication. | |
Protected Member Functions | |
DbTagData & | getDbTagData (void) const |
Returns a vector to store the dbTags of the class members. More... | |
int | sendData (Communicator &comm) |
Send data through the communicator argument. | |
int | recvData (const Communicator &comm) |
Receive data through the communicator argument. | |
Protected Member Functions inherited from XC::BeamMecLoad | |
int | sendData (Communicator &comm) |
Send data through the communicator argument. | |
int | recvData (const Communicator &comm) |
Receive data through the communicator argument. | |
Protected Member Functions inherited from XC::ElementBodyLoad | |
int | sendData (Communicator &comm) |
Send data through the communicator argument. | |
int | recvData (const Communicator &comm) |
Receive data through the communicator argument. | |
Protected Member Functions inherited from XC::ElementalLoad | |
int | sendData (Communicator &comm) |
Send data through the communicator argument. | |
int | recvData (const Communicator &comm) |
Receive data through the communicator argument. | |
Protected Member Functions inherited from XC::Load | |
int | sendData (Communicator &comm) |
Send data through the communicator argument. | |
int | recvData (const Communicator &comm) |
Receive data through the communicator argument. | |
Protected Member Functions inherited from XC::DomainComponent | |
DomainComponent (int tag, int classTag) | |
Constructor. More... | |
int | sendData (Communicator &) |
Send object members through the communicator argument. | |
int | recvData (const Communicator &) |
Receive object members through the communicator argument. | |
Protected Member Functions inherited from XC::TaggedObject | |
void | setTag (int newTag) |
Set tag. More... | |
Protected Member Functions inherited from CommandEntity | |
template<class T > | |
void | string_to (T &, const std::string &) const |
Additional Inherited Members | |
Public Types inherited from EntityWithProperties | |
typedef std::map< std::string, boost::python::object > | PythonDict |
Static Public Member Functions inherited from CommandEntity | |
static void | resetStandardOutput (void) |
Reset the standard output streams to its defaults buffers. | |
Static Public Member Functions inherited from EntityWithOwner | |
static int | getVerbosityLevel (void) |
Get the value of the verbosity level. | |
static void | setVerbosityLevel (const int &) |
Set the value of the verbosity level. | |
Static Protected Member Functions inherited from CommandEntity | |
static CommandEntity * | entcmd_cast (boost::any &data) |
Protected Attributes inherited from XC::BeamMecLoad | |
double | Trans |
Transverse load. | |
double | Axial |
Axial load. | |
Protected Attributes inherited from XC::ElementalLoad | |
ID | elemTags |
Tags of loaded elements. | |
Static Protected Attributes inherited from EntityWithOwner | |
static int | verbosity = 1 |
Object that owns THIS ONE. More... | |
Uniform load over 3D beams.
|
virtual |
Returns the consistent load vector (see page 108 Eugenio Oñate book).
L | Length of the element. |
loadFactor | Load factor. |
q0 | Consistent load vector. |
release | Moment release: 0=none, 1=I, 2=J, 3=I,J |
Reimplemented from XC::BeamMecLoad.
|
virtual |
Adds the load al consistent load vector (see page 108 libro Eugenio Oñate).
Li | tributary lengths of each node. |
loadFactor | Load factor. |
p0 | element load vector. |
Reimplemented from XC::BeamMecLoad.
|
protectedvirtual |
Returns a vector to store the dbTags of the class members.
Reimplemented from XC::DistributedBase.
|
virtual |
Receive the object.
Each object has to receive the data needed to be able to recreate itself in the new process after it has been sent through cp
. If the object is an aggregation containing other objects, new objects of the correct type can be constructed using #theBroker. To return 0 if successful or a -1 if not.
Implements XC::MovableObject.
|
virtual |
Send the object.
Each object has to send the data needed to be able to reproduce that object in a remote process. The object uses the methods provided by cp
object to send the data to another channel at the remote actor, the address of the channel is set before this method is called. An object of similar type at the remote actor is invoked with a receiveSelf() to receive the data. Returns 0 if successful (successful in that the data got to the channel), or a - if no data was sent.
Implements XC::MovableObject.