XC Open source finite element analysis program
|
Load pattern for a earthquake with a similar excitation for all supports. More...
#include <UniformExcitation.h>
Public Member Functions | |
UniformExcitation (int tag=0) | |
UniformExcitation (GroundMotion &theMotion, int dof, int tag, double vel0=0.0) | |
GroundMotion & | getGroundMotionRecord (void) |
void | setDomain (Domain *theDomain) |
Set the domain for the pattern loads. | |
void | applyLoad (double time) |
Apply the load for pseudo-time being passed as parameter. | |
void | Print (std::ostream &s, int flag=0) |
Prints load pattern information. | |
int | sendSelf (CommParameters &) |
Sends object through the channel being passed as parameter. | |
int | recvSelf (const CommParameters &) |
Receives object through the channel being passed as parameter. | |
void | applyLoadSensitivity (double time) |
Public Member Functions inherited from XC::EarthquakePattern | |
EarthquakePattern (int tag, int classTag) | |
virtual bool | addSFreedom_Constraint (SFreedom_Constraint *) |
Adds the constraint being passed as parameter. | |
virtual bool | addNodalLoad (NodalLoad *) |
Adds the nodal load being passed as parameter. | |
virtual bool | addElementalLoad (ElementalLoad *) |
Adds the element load being passed as parameter. | |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
virtual int | updateParameter (int parameterID, Information &info) |
virtual int | activateParameter (int parameterID) |
Public Member Functions inherited from XC::EQBasePattern | |
EQBasePattern (int tag, int classTag) | |
size_t | getNumMotions (void) const |
void | clear (void) |
Public Member Functions inherited from XC::LoadPattern | |
LoadPattern (int tag) | |
Constructor. | |
LoadPattern (void) | |
Default constructor. | |
LoadPattern (int tag, int classTag) | |
Constructor. | |
virtual | ~LoadPattern (void) |
Destructor. | |
virtual void | setTimeSeries (TimeSeries *theSeries) |
bool | addToDomain (void) |
Apply load. | |
void | removeFromDomain (void) |
Removes load. | |
NodalLoad * | newNodalLoad (const int &, const Vector &) |
Creates a nodal load. More... | |
bool | newElementalLoad (ElementalLoad *) |
Appends the elemental load being passed as parameter. | |
ElementalLoad * | newElementalLoad (const std::string &) |
Crea una load over elements. | |
virtual NodalLoadIter & | getNodalLoads (void) |
Returns an iterator a las nodal loads. | |
virtual ElementalLoadIter & | getElementalLoads (void) |
Returns an iterator a las elemental loads. | |
int | getNumNodalLoads (void) const |
Returns the número de nodal loadss. | |
int | getNumElementalLoads (void) const |
Returns the número de elemental loadss. | |
int | getNumLoads (void) const |
Returns the total number of loads. | |
virtual void | clearAll (void) |
Deletes all loads, constraints AND pointer to time series. | |
virtual void | clearLoads (void) |
Deletes all loads. | |
virtual bool | removeNodalLoad (int tag) |
Elimina the load sobre nodo cuyo tag being passed as parameter. | |
virtual bool | removeElementalLoad (int tag) |
Elimina the load over element cuyo tag being passed as parameter. | |
virtual void | setLoadConstant (void) |
const std::string & | getDescription (void) const |
void | setDescription (const std::string &d) |
virtual const double & | getLoadFactor (void) const |
Returns the factor de ponderación obtenido of the TimeSeries object. | |
const double & | GammaF (void) const |
Returns the weighting factor set by the load combination. | |
double & | GammaF (void) |
Returns the weighting factor set by the load combination. | |
void | setGammaF (const double &) |
Sets the weighting factor set by the load combination. | |
virtual LoadPattern * | getCopy (void) |
virtual int | addMotion (GroundMotion &theMotion, int tag) |
virtual GroundMotion * | getMotion (int tag) |
virtual const Vector & | getExternalForceSensitivity (int gradNumber) |
Public Member Functions inherited from XC::NodeLocker | |
virtual | ~NodeLocker (void) |
Destructor. | |
virtual SFreedom_Constraint * | addSFreedom_Constraint (const int &tagNodo, const int &id_gdl, const double &valor) |
Adds the single freedom constraint being passed as parameter. | |
virtual SFreedom_ConstraintIter & | getSPs (void) |
Returns an iterator a las coacciones mononodales. | |
int | getNumSPs (void) const |
Returns the número de coacciones monopunto. | |
SFreedom_Constraint * | newSPConstraint (const int &, const int &, const double &) |
virtual bool | removeSFreedom_Constraint (int tag) |
Elimina la coacción mononodal cuyo tag being passed as parameter. | |
virtual void | applyLoad (const double &pseudoTime=0.0, const double &factor=1.0) |
Aplica the load en el instante being passed as parameter. | |
std::deque< int > | getTagsSPsNode (int theNode, int theDOF) const |
Returns the constraint that affect the node and DOF being passed as parameter. More... | |
std::deque< int > | getTagsSPsNode (int theNode) const |
Returns the constraint that affect the node being passed as parameter. More... | |
bool | nodeAffectedBySPs (int nodeTag) const |
Returns true if the single freedom constraints affect the node which identifier is being passed as parameter. | |
Public Member Functions inherited from XC::ForceReprComponent | |
ForceReprComponent (int classTag) | |
ForceReprComponent (int tag, int classTag) | |
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 domain. | |
const Preprocessor * | GetPreprocessor (void) const |
Returns (if possible) a pointer to the preprocessor. | |
Preprocessor * | GetPreprocessor (void) |
Returns (if possible) a pointer to the preprocessor. | |
void | set_indice (const size_t &i) |
Set the index for the object (see numera in Set). This index is used on VTK arrays. | |
Public Member Functions inherited from XC::TaggedObject | |
TaggedObject (int tag, EntCmd *owr=nullptr) | |
Constructor. | |
virtual TaggedObject * | getCopy (void) const |
Virtual constructor. | |
void | assignTag (int newTag) |
Establece el valor del tag. | |
int | getTag (void) const |
Public Member Functions inherited from XC::MovableObject | |
MovableObject (int classTag, int dbTag) | |
Constructor. | |
MovableObject (int classTag) | |
Constructor. | |
MovableObject (const MovableObject &otro) | |
Copy constructor. | |
MovableObject & | operator= (const MovableObject &otro) |
Operacdor asignación. | |
int | getClassTag (void) const |
Returns the tag de la clase. | |
int | getDbTag (void) const |
Returns the tag para la database. | |
int | getDbTag (CommParameters &) |
Returns the tag para la database. | |
void | setDbTag (int dbTag) |
Asigna el tag para la database. | |
void | setDbTag (CommParameters &) |
Asigna, sólo si es preciso, el tag para la database. | |
virtual int | setVariable (const std::string &variable, Information &) |
Returns the identificador de la variable cuyo nombre being passed as parameter. | |
virtual int | getVariable (const std::string &variable, Information &) |
Public Member Functions inherited from XC::DistributedBase | |
DistributedBase (void) | |
Constructor. | |
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 | |
int | sendData (CommParameters &) |
Send object members through the channel being passed as parameter. | |
int | recvData (const CommParameters &) |
Receives object members through the channel being passed as parameter. | |
Protected Member Functions inherited from XC::EarthquakePattern | |
void | libera (void) |
void | alloc (const size_t &) |
void | copia (const Vector *, const Vector *) |
int | addMotion (GroundMotion &) |
int | sendData (CommParameters &) |
Send object members through the channel being passed as parameter. | |
int | recvData (const CommParameters &) |
Receives object members through the channel being passed as parameter. | |
Protected Member Functions inherited from XC::EQBasePattern | |
int | addMotion (GroundMotion &theMotion) |
void | alloc (const size_t &sz) |
int | sendData (CommParameters &) |
Send members through the channel being passed as parameter. | |
int | recvData (const CommParameters &) |
Receives members through the channel being passed as parameter. | |
Protected Member Functions inherited from XC::LoadPattern | |
DbTagData & | getDbTagData (void) const |
Returns a vector para almacenar los dbTags de los miembros de la clase. | |
int | sendData (CommParameters &cp) |
Send members through the channel being passed as parameter. | |
int | recvData (const CommParameters &cp) |
Receives members through the channel being passed as parameter. | |
Protected Member Functions inherited from XC::NodeLocker | |
DbTagData & | getDbTagData (void) const |
Returns a vector para almacenar los dbTags de los miembros de la clase. | |
int | sendData (CommParameters &cp) |
Send members through the channel being passed as parameter. | |
int | recvData (const CommParameters &cp) |
Receives members through the channel being passed as parameter. | |
NodeLocker (void) | |
Default constructor. | |
NodeLocker (int tag) | |
Constructor. | |
NodeLocker (int tag, int classTag) | |
Constructor. | |
Protected Member Functions inherited from XC::DomainComponent | |
DomainComponent (int tag, int classTag) | |
Constructor. | |
int | sendData (CommParameters &) |
Send object members through the channel being passed as parameter. | |
int | recvData (const CommParameters &) |
Receives object members through the channel being passed as parameter. | |
Protected Member Functions inherited from XC::TaggedObject | |
void | setTag (int newTag) |
Establece el valor del tag. | |
Additional Inherited Members | |
Protected Attributes inherited from XC::EQBasePattern | |
DqGroundMotions | theMotions |
Protected Attributes inherited from XC::LoadPattern | |
int | isConstant |
Protected Attributes inherited from XC::NodeLocker | |
int | nextTag |
Default tag for next node locker. | |
int | currentGeoTag |
int | lastGeoSendTag |
TaggedObjectStorage * | theSPs |
Constraint container. | |
SingleDomSFreedom_Iter * | theSpIter |
Constraint iterator. | |
Load pattern for a earthquake with a similar excitation for all supports.