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

ImposedMotionSP1 Class Reference

#include <ImposedMotionSP1.h>

Inheritance diagram for ImposedMotionSP1::

SP_Constraint DomainComponent TaggedObject MovableObject List of all members.

Public Methods

 ImposedMotionSP1 ()
 constructors. More...

 ImposedMotionSP1 (int spTag, int nodeTag, int ndof, GroundMotion &theGroundMotion, bool destroyMotion)
 ~ImposedMotionSP1 ()
 destructor. More...

int applyConstraint (double loadFactor)
double getValue (void)
bool isHomogeneous (void) const
int sendSelf (int commitTag, Channel &theChannel)
int recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)
void Print (ostream &s, int flag=0)

Constructor & Destructor Documentation

ImposedMotionSP1::ImposedMotionSP1 ( )
 

constructors.

Definition at line 44 of file ImposedMotionSP1.cpp.

ImposedMotionSP1::ImposedMotionSP1 ( int spTag,
int nodeTag,
int ndof,
GroundMotion & theGroundMotion,
bool destroyMotion )
 

Definition at line 52 of file ImposedMotionSP1.cpp.

ImposedMotionSP1::~ImposedMotionSP1 ( )
 

destructor.

Definition at line 64 of file ImposedMotionSP1.cpp.


Member Function Documentation

void ImposedMotionSP1::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 SP_Constraint.

Definition at line 122 of file ImposedMotionSP1.cpp.

int ImposedMotionSP1::applyConstraint ( double loadFactor ) [virtual]
 

Reimplemented from SP_Constraint.

Definition at line 81 of file ImposedMotionSP1.cpp.

double ImposedMotionSP1::getValue ( void ) [virtual]
 

Reimplemented from SP_Constraint.

Definition at line 73 of file ImposedMotionSP1.cpp.

bool ImposedMotionSP1::isHomogeneous ( void ) const [virtual]
 

Reimplemented from SP_Constraint.

Definition at line 102 of file ImposedMotionSP1.cpp.

int ImposedMotionSP1::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 SP_Constraint.

Definition at line 115 of file ImposedMotionSP1.cpp.

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

This is a pure virtual method, one must be written for each instantiable subclass of MovableObject. Each object has to send the data needed to be able to reproduce that object in a remote process. The object uses the methods provided by {theChannel} object to send the data to another channel at the remote actor, the address of the channel is set before this method is called. An object of similar type at the remote actor is invoked with a {receiveSelf()} to receive the data. Returns if successful (successful in that the data got to the channel), or a if no data was sent.

Reimplemented from SP_Constraint.

Definition at line 109 of file ImposedMotionSP1.cpp.


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