xc
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members

Earthquake load pattern. More...

#include <EQBasePattern.h>

Inheritance diagram for XC::EQBasePattern:
XC::LoadPattern XC::NodeLocker XC::ForceReprComponent XC::DomainComponent XC::TaggedObject XC::MovableObject XC::DistributedBase XC::EarthquakePattern XC::MultiSupportPattern XC::UniformExcitation

Public Member Functions

 EQBasePattern (int tag, int classTag)
 
size_t getNumMotions (void) const
 
void clear (void)
 
virtual void Print (std::ostream &s, int flag=0)
 Prints load pattern information.
 
- Public Member Functions inherited from XC::LoadPattern
 LoadPattern (int tag=0)
 Constructor.
 
 LoadPattern (int tag, int classTag)
 Constructor. More...
 
virtual ~LoadPattern (void)
 Destructor.
 
virtual void setTimeSeries (TimeSeries *theSeries)
 Set the time series for the pattern.
 
virtual void setDomain (Domain *theDomain)
 Set the domain for the pattern loads.
 
bool addToDomain (void)
 Apply load.
 
void removeFromDomain (void)
 Removes load.
 
virtual bool addNodalLoad (NodalLoad *)
 Adds the nodal load being passed as parameter.
 
NodalLoadnewNodalLoad (const int &, const Vector &)
 Creates a nodal load. More...
 
virtual bool addElementalLoad (ElementalLoad *)
 Adds the element load being passed as parameter.
 
bool newElementalLoad (ElementalLoad *)
 Appends the elemental load being passed as parameter.
 
ElementalLoadnewElementalLoad (const std::string &)
 Crea una load over elements.
 
virtual bool addSFreedom_Constraint (SFreedom_Constraint *theSp)
 Adds the constraint being passed as parameter.
 
LoadContainergetLoads (void)
 Return the load container.
 
const LoadContainergetLoads (void) const
 Return the load container.
 
int getNumNodalLoads (void) const
 Return the number of nodal loads.
 
int getNumElementalLoads (void) const
 Return the number of elemental loads.
 
int getNumLoads (void) const
 Return the 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)
 Remove the nodal load which tag is being passed as parameter.
 
virtual bool removeElementalLoad (int tag)
 Remove the load over element which tag is being passed as parameter.
 
virtual void applyLoad (double pseudoTime=0.0)
 Apply the load for pseudo-time being passed as parameter.
 
virtual void setLoadConstant (void)
 Marks the LoadPattern as being constant. More...
 
void setIsConstant (const bool &b)
 
bool getIsConstant (void) const
 
const MapLoadPatternsgetMapLoadPatterns (void) const
 Returns a const pointer to the container of the load pattern.
 
MapLoadPatternsgetMapLoadPatterns (void)
 Returns a pointer to the container of the load pattern.
 
const std::string & getName (void) const
 Returns the name of this load pattern.
 
const std::string & getDescription (void) const
 
void setDescription (const std::string &d)
 
virtual const double & getLoadFactor (void) const
 Returns the weighting factor obtained from 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.
 
LoadPatternoperator*= (const double &fact)
 
LoadPatternoperator/= (const double &fact)
 
virtual int sendSelf (CommParameters &)
 Sends object through the channel being passed as parameter.
 
virtual int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
virtual LoadPatterngetCopy (void)
 Virtual constructor.
 
virtual int addMotion (GroundMotion &theMotion, int tag)
 
virtual GroundMotiongetMotion (int tag)
 
virtual void applyLoadSensitivity (double pseudoTime=0.0)
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 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 const VectorgetExternalForceSensitivity (int gradNumber)
 
- Public Member Functions inherited from XC::NodeLocker
virtual ~NodeLocker (void)
 Destructor.
 
virtual SFreedom_ConstraintaddSFreedom_Constraint (const int &nodeTag, const int &dofId, const double &)
 Adds the single freedom constraint being passed as parameter.
 
virtual SFreedom_ConstraintItergetSPs (void)
 Returns an iterator to the single freedom constraints.
 
int getNumSPs (void) const
 Returns the number of single freedom constraints.
 
SFreedom_ConstraintnewSPConstraint (const int &, const int &, const double &)
 Creates a single freedom constraint. More...
 
virtual bool removeSFreedom_Constraint (int tag)
 Erases the single freedom constraint identified by the argument. More...
 
virtual void applyLoad (const double &pseudoTime=0.0, const double &factor=1.0)
 Applies the single freedom constraints. More...
 
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. More...
 
- 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 DomaingetDomain (void) const
 Returns a pointer to the enclosing domain. More...
 
const PreprocessorgetPreprocessor (void) const
 Returns (if possible) a pointer to the preprocessor.
 
PreprocessorgetPreprocessor (void)
 Return (if possible) a pointer to the preprocessor.
 
void set_index (const size_t &i)
 Set the index for the object (see numera in Set). More...
 
- Public Member Functions inherited from XC::TaggedObject
 TaggedObject (int tag, CommandEntity *owr=nullptr)
 Constructor. More...
 
virtual TaggedObjectgetCopy (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.
 
- 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.
 
MovableObjectoperator= (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 (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
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.
 
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 addMotion (GroundMotion &theMotion)
 
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
DbTagDatagetDbTagData (void) const
 Returns a vector to store the dbTags of the class members. More...
 
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
DbTagDatagetDbTagData (void) const
 Returns a vector to store the dbTags de los miembros of the clase. More...
 
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. More...
 
int sendData (CommParameters &)
 Send object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receive object members through the channel being passed as parameter.
 
- Protected Member Functions inherited from XC::TaggedObject
void setTag (int newTag)
 Set tag. More...
 

Protected Attributes

DqGroundMotions theMotions
 
- Protected Attributes inherited from XC::LoadPattern
bool isConstant
 to indicate whether setConstant has been called
 
- Protected Attributes inherited from XC::NodeLocker
int nextTag
 Default tag for next node locker.
 
int currentGeoTag
 
int lastGeoSendTag
 
TaggedObjectStorage * theSPs
 Constraint container.
 
SingleDomSFreedom_ItertheSpIter
 Constraint iterator.
 

Detailed Description

Earthquake load pattern.


The documentation for this class was generated from the following files: