28 #ifndef MFreedom_ConstraintBase_h 29 #define MFreedom_ConstraintBase_h 43 #include "Constraint.h" 44 #include <utility/matrix/Matrix.h> 79 virtual inline const int &getNodeConstrained(
void)
const 81 virtual inline int &getNodeConstrained(
void)
84 virtual const ID &getRetainedDOFs(
void)
const= 0;
87 virtual size_t getNumRetainedNodes(
void)
const= 0;
88 virtual std::vector<XC::Node *> getPointersToRetainedNodes(
void)
const= 0;
94 virtual void Print(std::ostream &s,
int flag =0);
Matrix constraintMatrix
Constraint matrix.
Definition: MFreedom_ConstraintBase.h:60
void set_constraint(const Matrix &c)
Set the constraint matrix.
Definition: MFreedom_ConstraintBase.cc:52
virtual const ID & getConstrainedDOFs(void) const
Returns the identifiers of the constrained degrees of fredom.
Definition: MFreedom_ConstraintBase.cc:106
int constrNodeTag
constrained node tag
Definition: Constraint.h:52
virtual void Print(std::ostream &s, int flag=0)
Printing.
Definition: MFreedom_ConstraintBase.cc:149
ID constrDOF
ID of constrained DOF at constrained node.
Definition: MFreedom_ConstraintBase.h:61
Base class for model constraints.
Definition: Constraint.h:49
bool isTimeVarying(void) const
Returns true if the constraint varies with time.
Definition: MFreedom_ConstraintBase.cc:114
int recvData(const CommParameters &cp)
Receive data through the channel being passed as parameter.
Definition: MFreedom_ConstraintBase.cc:140
MFreedom_ConstraintBase(int tag, int classTag)
Constructor.
Definition: MFreedom_ConstraintBase.cc:63
Base class for mult-freedom constraints.
Definition: MFreedom_ConstraintBase.h:57
int sendData(CommParameters &cp)
Send data through the channel being passed as parameter.
Definition: MFreedom_ConstraintBase.cc:131
int addResistingForceToNodalReaction(bool inclInertia)
Add reactions to nodes.
Definition: MFreedom_ConstraintBase.cc:119
bool affectsNode(int) const
Returns true if the constraints affects the node identified by the tag being passed as parameter...
Definition: MFreedom_ConstraintBase.cc:100
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
void set_constrained_dofs(const ID &)
Set the constrained degrees of freedom.
Definition: MFreedom_ConstraintBase.cc:57
virtual const Matrix & getConstraint(void) const
Returns the constraint matrix.
Definition: MFreedom_ConstraintBase.cc:127