Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

UniformExcitation Class Reference

#include <UniformExcitation.h>

Inheritance diagram for UniformExcitation::

EarthquakePattern LoadPattern DomainComponent TaggedObject MovableObject List of all members.

Public Methods

 UniformExcitation (GroundMotion &theMotion, int dof, int tag, double vel0=0.0)
 ~UniformExcitation ()
void setDomain (Domain *theDomain)
void applyLoad (double time)
void Print (ostream &s, int flag=0)
int sendSelf (int commitTag, Channel &theChannel)
 methods for o/p. More...

int recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)
LoadPatterngetCopy (void)
 method to obtain a blank copy of the LoadPattern. More...


Detailed Description

A UniformExcitation is an object which adds the loads imposed by a single ground excitation to the model. For a UniformExcitation this means that the {R} matrix at each node will have column and all entries but those corresponding to the degree of freedom direction will be set to , the value for the degree of freedom direction will be set to .\

}

Definition at line 51 of file UniformExcitation.h.


Constructor & Destructor Documentation

UniformExcitation::UniformExcitation ( GroundMotion & theMotion,
int dof,
int tag,
double vel0 = 0.0 )
 

Definition at line 41 of file UniformExcitation.cpp.

Referenced by getCopy().

UniformExcitation::~UniformExcitation ( )
 

Does nothing.

Definition at line 51 of file UniformExcitation.cpp.


Member Function Documentation

void UniformExcitation::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 EarthquakePattern.

Definition at line 122 of file UniformExcitation.cpp.

void UniformExcitation::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 EarthquakePattern.

Definition at line 82 of file UniformExcitation.cpp.

LoadPattern * UniformExcitation::getCopy ( void ) [virtual]
 

method to obtain a blank copy of the LoadPattern.

Reimplemented from EarthquakePattern.

Definition at line 128 of file UniformExcitation.cpp.

int UniformExcitation::recvSelf ( int commitTag,
Channel & theChannel,
FEM_ObjectBroker & theBroker ) [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 EarthquakePattern.

Definition at line 113 of file UniformExcitation.cpp.

int UniformExcitation::sendSelf ( int commitTag,
Channel & theChannel ) [virtual]
 

methods for o/p.

Reimplemented from EarthquakePattern.

Definition at line 105 of file UniformExcitation.cpp.

void UniformExcitation::setDomain ( Domain * theDomain ) [virtual]
 

If any loads or constraint objects exist in the LoadPattern, the LoadPattern will invoke {setDomain()} on those objects. Finally invokes the DomainComponent classes {setDomain()} method.

Reimplemented from LoadPattern.

Definition at line 58 of file UniformExcitation.cpp.


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