Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
MP_Constraint Class Reference#include <MP_Constraint.h>
Inheritance diagram for MP_Constraint::
List of all members.
Public Methods |
| MP_Constraint (int classTag) |
| constructors. More...
|
| MP_Constraint (int tag, int nodeRetain, int nodeConstr, ID &constrainedDOF, ID &retainedDOF, int classTag) |
| MP_Constraint (int tag, int nodeRetain, int nodeConstr, Matrix &constrnt, ID &constrainedDOF, ID &retainedDOF) |
virtual | ~MP_Constraint () |
| destructor. More...
|
virtual int | getNodeRetained (void) const |
| method to get information about the constraint. More...
|
virtual int | getNodeConstrained (void) const |
virtual const ID& | getConstrainedDOFs (void) const |
virtual const ID& | getRetainedDOFs (void) const |
virtual int | applyConstraint (double pseudoTime) |
virtual bool | isTimeVarying (void) const |
virtual const Matrix& | getConstraint (void) |
virtual int | sendSelf (int commitTag, Channel &theChannel) |
| methods for output. More...
|
virtual int | recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker) |
virtual void | Print (ostream &s, int flag=0) |
Detailed Description
An MP\_Constraint represents a multiple point constraint in the domain. A multiple point constraint imposes a relationship between the displacement for certain dof at two nodes in the model, typically called the {retained} node and the {constrained} node:
An MP\_Constraint is responsible for providing information on the relationship between the dof, this is in the form of a constraint Matrix,
, and two ID objects, {retainedID} and {constrainedID} indicating the dof's at the nodes represented by
. For example, for the following constraint imposing a relationship between the displacements at node
, the constrained node, with the displacements at node
, the retained node in a problem where the x,y,z components are identified as the 0,1,2 degrees-of-freedom:
u_{1,x} = 2 u_{2,x} + u_{2,z}
u_{1,y} = 3 u_{2,z}
the constraint matrix is:
C_{cr} = \left[ \begin{array}{cc} 2 & 1 \ 0 & 3 \ \end{array} \right]
{constrainedID} =
and {retainedID}
. \
Definition at line 90 of file MP_Constraint.h.
Constructor & Destructor Documentation
MP_Constraint::MP_Constraint (
|
int classTag )
|
|
MP_Constraint::MP_Constraint (
|
int tag,
|
|
int nodeRetain,
|
|
int nodeConstr,
|
|
ID & constrainedDOF,
|
|
ID & retainedDOF,
|
|
int classTag )
|
|
MP_Constraint::MP_Constraint (
|
int tag,
|
|
int nodeRetain,
|
|
int nodeConstr,
|
|
Matrix & constrnt,
|
|
ID & constrainedDOF,
|
|
ID & retainedDOF )
|
|
MP_Constraint::~MP_Constraint (
|
) [virtual]
|
|
Member Function Documentation
void MP_Constraint::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 TaggedObject.
Definition at line 295 of file MP_Constraint.cpp. |
int MP_Constraint::applyConstraint (
|
double pseudoTime ) [virtual]
|
|
const ID & MP_Constraint::getConstrainedDOFs (
|
void ) const [virtual]
|
|
|
Definition at line 125 of file MP_Constraint.cpp.
Referenced by PenaltyMP_FE::PenaltyMP_FE(), TransformationDOF_Group::addSP_Constraint(), TransformationDOF_Group::doneID(), TransformationDOF_Group::getCommittedAccel(), TransformationDOF_Group::getCommittedDisp(), TransformationDOF_Group::getCommittedVel(), TransformationDOF_Group::getT(), PlainHandler::handle(), PlainNumberer::numberDOF(), DOF_Numberer::numberDOF(), PenaltyMP_FE::setID(), and LagrangeMP_FE::setID().
|
const Matrix & MP_Constraint::getConstraint (
|
void ) [virtual]
|
|
int MP_Constraint::getNodeConstrained (
|
void ) const [virtual]
|
|
int MP_Constraint::getNodeRetained (
|
void ) const [virtual]
|
|
const ID & MP_Constraint::getRetainedDOFs (
|
void ) const [virtual]
|
|
bool MP_Constraint::isTimeVarying (
|
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.
Definition at line 238 of file MP_Constraint.cpp.
Referenced by Domain::recvSelf().
|
int MP_Constraint::sendSelf (
|
int commitTag,
|
|
Channel & theChannel ) [virtual]
|
|
The documentation for this class was generated from the following files:
|