Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
EarthquakePattern Class Reference#include <EarthquakePattern.h>
Inheritance diagram for EarthquakePattern::
List of all members.
Detailed Description
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.\
}
Definition at line 53 of file EarthquakePattern.h.
Constructor & Destructor Documentation
EarthquakePattern::EarthquakePattern (
|
int tag,
|
|
int classTag )
|
|
EarthquakePattern::~EarthquakePattern (
|
) [virtual]
|
|
|
Invokes the destructor on all GroundMotions added to the Earthquakepattern. It then invokes the destructor on the array holding pointers to the GroundMotion objects.
Definition at line 53 of file EarthquakePattern.cpp. |
Member Function Documentation
void EarthquakePattern::Print (
|
ostream & s,
|
|
int flag = 0 ) [virtual]
|
|
|
A pure virtual function. The component is to output itself to the output stream {s}. The integer {flag} can be used to select just what should be output, by default
is passed.
Reimplemented from LoadPattern.
Reimplemented in UniformExcitation.
Definition at line 302 of file EarthquakePattern.cpp. |
bool EarthquakePattern::addElementalLoad (
|
ElementalLoad * load ) [virtual]
|
|
int EarthquakePattern::addMotion (
|
GroundMotion & theMotion ) [protected]
|
|
bool EarthquakePattern::addNodalLoad (
|
NodalLoad * load ) [virtual]
|
|
bool EarthquakePattern::addSP_Constraint (
|
SP_Constraint * theSp ) [virtual]
|
|
void EarthquakePattern::applyLoad (
|
double time ) [virtual]
|
|
|
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
Reimplemented from LoadPattern.
Reimplemented in UniformExcitation.
Definition at line 67 of file EarthquakePattern.cpp.
Referenced by UniformExcitation::applyLoad().
|
LoadPattern * EarthquakePattern::getCopy (
|
void ) [pure virtual]
|
|
int EarthquakePattern::recvSelf (
|
int commitTag,
|
|
Channel & theChannel,
|
|
FEM_ObjectBroker & theBroker ) [pure virtual]
|
|
|
This is a pure virtual method, one must be written for each instantiable subclass of MovableObject. Each object has to receive the data needed to be able to recreate itself in the new process after it has been sent through {theChannel}. If the object is an aggregation containing other objects, new objects of the correct type can be constructed using {theBroker}. To return
if successful or a
if not.
Reimplemented from LoadPattern.
Reimplemented in UniformExcitation. |
int EarthquakePattern::sendSelf (
|
int commitTag,
|
|
Channel & theChannel ) [pure virtual]
|
|
Member Data Documentation
int EarthquakePattern::numMotions [protected]
|
|
GroundMotion ** EarthquakePattern::theMotions [protected]
|
|
The documentation for this class was generated from the following files:
|