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::

DomainComponent TaggedObject MovableObject 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 IDgetConstrainedDOFs (void) const
virtual const IDgetRetainedDOFs (void) const
virtual int applyConstraint (double pseudoTime)
virtual bool isTimeVarying (void) const
virtual const MatrixgetConstraint (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 )
 

constructors.

Definition at line 46 of file MP_Constraint.cpp.

MP_Constraint::MP_Constraint ( int tag,
int nodeRetain,
int nodeConstr,
ID & constrainedDOF,
ID & retainedDOF,
int classTag )
 

Definition at line 55 of file MP_Constraint.cpp.

MP_Constraint::MP_Constraint ( int tag,
int nodeRetain,
int nodeConstr,
Matrix & constrnt,
ID & constrainedDOF,
ID & retainedDOF )
 

Definition at line 73 of file MP_Constraint.cpp.

MP_Constraint::~MP_Constraint ( ) [virtual]
 

destructor.

Definition at line 97 of file MP_Constraint.cpp.


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]
 

Definition at line 152 of file MP_Constraint.cpp.

Referenced by Domain::applyLoad().

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]
 

Definition at line 166 of file MP_Constraint.cpp.

Referenced by LagrangeMP_FE::LagrangeMP_FE(), TransformationDOF_Group::doneID(), TransformationDOF_Group::getT(), and PlainHandler::handle().

int MP_Constraint::getNodeConstrained ( void ) const [virtual]
 

Definition at line 117 of file MP_Constraint.cpp.

Referenced by LagrangeMP_FE::LagrangeMP_FE(), PenaltyMP_FE::PenaltyMP_FE(), Domain::addMP_Constraint(), TransformationConstraintHandler::handle(), PlainHandler::handle(), PlainNumberer::numberDOF(), and DOF_Numberer::numberDOF().

int MP_Constraint::getNodeRetained ( void ) const [virtual]
 

method to get information about the constraint.

Definition at line 110 of file MP_Constraint.cpp.

Referenced by LagrangeMP_FE::LagrangeMP_FE(), PenaltyMP_FE::PenaltyMP_FE(), Domain::addMP_Constraint(), TransformationDOF_Group::doneID(), TransformationDOF_Group::getCommittedAccel(), TransformationDOF_Group::getCommittedDisp(), TransformationDOF_Group::getCommittedVel(), PlainNumberer::numberDOF(), and DOF_Numberer::numberDOF().

const ID & MP_Constraint::getRetainedDOFs ( void ) const [virtual]
 

Definition at line 139 of file MP_Constraint.cpp.

Referenced by PenaltyMP_FE::PenaltyMP_FE(), TransformationDOF_Group::doneID(), TransformationDOF_Group::getCommittedAccel(), TransformationDOF_Group::getCommittedDisp(), TransformationDOF_Group::getCommittedVel(), PlainNumberer::numberDOF(), DOF_Numberer::numberDOF(), PenaltyMP_FE::setID(), and LagrangeMP_FE::setID().

bool MP_Constraint::isTimeVarying ( void ) const [virtual]
 

Definition at line 159 of file MP_Constraint.cpp.

Referenced by LagrangeMP_FE::LagrangeMP_FE(), PenaltyMP_FE::PenaltyMP_FE(), TransformationDOF_Group::doneID(), TransformationDOF_Group::getT(), PenaltyMP_FE::getTangent(), LagrangeMP_FE::getTangent(), and PlainHandler::handle().

int MP_Constraint::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 MovableObject.

Definition at line 238 of file MP_Constraint.cpp.

Referenced by Domain::recvSelf().

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

methods for output.

Reimplemented from MovableObject.

Definition at line 178 of file MP_Constraint.cpp.

Referenced by Domain::sendSelf().


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