class EarthquakePattern : public LoadPattern


Inheritance:


Public Methods

EarthquakePattern(int tag, int classTag)
virtual ~EarthquakePattern()
virtual void applyLoad(double time)
virtual bool addSP_Constraint(SP_Constraint *)
virtual bool addNodalLoad(NodalLoad *)
virtual bool addElementalLoad(ElementalLoad *)
virtual int sendSelf(int commitTag, Channel &theChannel)
virtual int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)
virtual void Print(ostream &s, int flag =0)
virtual LoadPattern* getCopy(void)

Protected Fields

GroundMotion** theMotions
int numMotions

Protected Methods

int addMotion(GroundMotion &theMotion)

Inherited from LoadPattern:

Public Methods

virtual void setTimeSeries(TimeSeries *theSeries)
virtual void setDomain(Domain *theDomain)
virtual NodalLoadIter& getNodalLoads(void)
virtual ElementalLoadIter& getElementalLoads(void)
virtual SP_ConstraintIter& getSPs(void)
virtual void clearAll(void)
virtual NodalLoad* removeNodalLoad(int tag)
virtual ElementalLoad* removeElementalLoad(int tag)
virtual SP_Constraint* removeSP_Constraint(int tag)
virtual void setLoadConstant(void)

Inherited from DomainComponent:

Public Methods

virtual Domain* getDomain(void) const
virtual int displaySelf(Renderer &, int displayMode, float fact)
virtual int setParameter(char **argv, int argc, Information &eleInformation)
virtual int updateParameter(int responseID, Information &eleInformation)

Inherited from TaggedObject:

Public Methods

inline int getTag(void) const
friend ostream& operator<<(ostream &s, TaggedObject &m)
inline int TaggedObject::getTag(void) const

Protected Methods

void setTag(int newTag)

Inherited from MovableObject:

Public Methods

int getClassTag(void) const
int getDbTag(void) const
void setDbTag(int dbTag)

Documentation

The EarthquakePattern class is an abstract class. An EarthquakePattern is an object which adds earthquake loads to models. This abstract class keeps track of the GroundMotion objects and implements the applyLoad() method. It is up to the concrete subclasses to set the appropriate values of R at each node in the model.

EarthquakePattern(int tag, int classTag)

The integers tag and classTag are passed to the LoadPattern classes constructor

virtual ~EarthquakePattern()

Invokes the destructor on all GroundMotions added to the Earthquakepattern. It then invokes the destructor on the array holding pointers to the GroundMotion objects.

virtual void applyLoad(double time)

Obtains from each GroundMotion, the velocity and acceleration for the time specified. These values are placed in two Vectors of size equal to the number of GroundMotion objects. For each node in the Domain addInertiaLoadToUnbalance() is invoked with the acceleration Vector objects. SIMILAR OPERATION WITH VEL and ACCEL NEEDS TO BE INVOKED ON ELEMENTS .. NEED TO MODIFY ELEMENT INTERFACE

virtual bool addSP_Constraint(SP_Constraint *)

virtual bool addNodalLoad(NodalLoad *)

virtual bool addElementalLoad(ElementalLoad *)

virtual int sendSelf(int commitTag, Channel &theChannel)

virtual int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

virtual void Print(ostream &s, int flag =0)

virtual LoadPattern* getCopy(void)

int addMotion(GroundMotion &theMotion)

GroundMotion** theMotions

int numMotions


Direct child classes:
UniformExcitation

alphabetic index Contents

this page has been generated automatically by a slightly modified version of doc++ for OpenSees

Copyright Contact Us