Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
SP_Constraint Class Reference#include <SP_Constraint.h>
Inheritance diagram for SP_Constraint::
List of all members.
Public Methods |
| SP_Constraint (int classTag) |
| constructors. More...
|
| SP_Constraint (int spTag, int nodeTag, int ndof, int classTag) |
| SP_Constraint (int spTag, int nodeTag, int ndof, double value, bool isConstant=true) |
virtual | ~SP_Constraint () |
| destructor. More...
|
virtual int | getNodeTag (void) const |
virtual int | getDOF_Number (void) const |
virtual int | applyConstraint (double loadFactor) |
virtual double | getValue (void) |
virtual bool | isHomogeneous (void) const |
virtual void | setLoadPatternTag (int loadPaternTag) |
virtual int | getLoadPatternTag (void) const |
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) |
Protected Attributes |
int | nodeTag |
int | dofNumber |
| to identify the node in the model. More...
|
double | valueR |
| identifies which of the nodes dof is constrrained. More...
|
double | valueC |
| the reference value. More...
|
bool | isConstant |
| the reference value * load factor. More...
|
int | loadPatternTag |
| flag indicating if constant. More...
|
Detailed Description
An SP\_Constraint represents a single point constraint in the domain. A single point constraint specifies the response of a particular degree-of-freedom at a node. The declaration that all methods are virtual allows for time varying constraints to be introduced. \
Definition at line 57 of file SP_Constraint.h.
Constructor & Destructor Documentation
SP_Constraint::SP_Constraint (
|
int classTag )
|
|
SP_Constraint::SP_Constraint (
|
int spTag,
|
|
int nodeTag,
|
|
int ndof,
|
|
int classTag )
|
|
SP_Constraint::SP_Constraint (
|
int spTag,
|
|
int nodeTag,
|
|
int ndof,
|
|
double value,
|
|
bool isConstant = true )
|
|
SP_Constraint::~SP_Constraint (
|
) [virtual]
|
|
Member Function Documentation
void SP_Constraint::Print (
|
ostream & s,
|
|
int flag = 0 ) [virtual]
|
|
int SP_Constraint::applyConstraint (
|
double loadFactor ) [virtual]
|
|
int SP_Constraint::getDOF_Number (
|
void ) const [virtual]
|
|
int SP_Constraint::getLoadPatternTag (
|
void ) const [virtual]
|
|
int SP_Constraint::getNodeTag (
|
void ) const [virtual]
|
|
double SP_Constraint::getValue (
|
void ) [virtual]
|
|
bool SP_Constraint::isHomogeneous (
|
void ) const [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 MovableObject.
Reimplemented in ImposedMotionSP, and ImposedMotionSP1.
Definition at line 155 of file SP_Constraint.cpp.
Referenced by LoadPattern::recvSelf(), and Domain::recvSelf().
|
int SP_Constraint::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 MovableObject.
Reimplemented in ImposedMotionSP, and ImposedMotionSP1.
Definition at line 131 of file SP_Constraint.cpp.
Referenced by LoadPattern::sendSelf(), and Domain::sendSelf().
|
void SP_Constraint::setLoadPatternTag (
|
int loadPaternTag ) [virtual]
|
|
Member Data Documentation
int SP_Constraint::dofNumber [protected]
|
|
bool SP_Constraint::isConstant [protected]
|
|
int SP_Constraint::loadPatternTag [protected]
|
|
int SP_Constraint::nodeTag [protected]
|
|
double SP_Constraint::valueC [protected]
|
|
double SP_Constraint::valueR [protected]
|
|
|
identifies which of the nodes dof is constrrained.
Definition at line 99 of file SP_Constraint.h. |
The documentation for this class was generated from the following files:
|