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

ImposedMotionSP Class Reference

#include <ImposedMotionSP.h>

Inheritance diagram for ImposedMotionSP::

SP_Constraint DomainComponent TaggedObject MovableObject List of all members.

Public Methods

 ImposedMotionSP ()
 constructors. More...

 ImposedMotionSP (int spTag, int nodeTag, int ndof, GroundMotion &theGroundMotion, bool destroyMotion)
 ~ImposedMotionSP ()
 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

ImposedMotionSP::ImposedMotionSP ( )
 

constructors.

Definition at line 44 of file ImposedMotionSP.cpp.

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

Definition at line 53 of file ImposedMotionSP.cpp.

ImposedMotionSP::~ImposedMotionSP ( )
 

destructor.

Definition at line 65 of file ImposedMotionSP.cpp.


Member Function Documentation

void ImposedMotionSP::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 146 of file ImposedMotionSP.cpp.

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

Reimplemented from SP_Constraint.

Definition at line 85 of file ImposedMotionSP.cpp.

double ImposedMotionSP::getValue ( void ) [virtual]
 

Reimplemented from SP_Constraint.

Definition at line 77 of file ImposedMotionSP.cpp.

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

Reimplemented from SP_Constraint.

Definition at line 126 of file ImposedMotionSP.cpp.

int ImposedMotionSP::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 139 of file ImposedMotionSP.cpp.

int ImposedMotionSP::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 133 of file ImposedMotionSP.cpp.


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