52 #ifndef MFreedom_Constraint_h 53 #define MFreedom_Constraint_h 66 #include "MFreedom_ConstraintBase.h" 67 #include <utility/matrix/Matrix.h> 104 MFreedom_Constraint(
int tag,
int nodeRetain,
int nodeConstr,
const ID &constrainedDOF,
const ID &retainedDOF,
int classTag);
130 virtual void Print(std::ostream &s,
int flag =0);
int retainedNodeTag
Tag of the retained node.
Definition: MFreedom_Constraint.h:87
MFreedom_Constraint(int tag, int classTag)
!
Definition: MFreedom_Constraint.cpp:90
virtual int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: MFreedom_Constraint.cpp:195
std::vector< XC::Node * > getPointersToRetainedNodes(void) const
Returns a vector with the pointers to the retained nodes.
Definition: MFreedom_Constraint.cpp:158
virtual int applyConstraint(double pseudoTime)
Applies the constraint at the pseudo-time being passed as parameter.
Definition: MFreedom_Constraint.cpp:170
int sendData(CommParameters &cp)
Sends data through the channel being passed as parameter.
Definition: MFreedom_Constraint.cpp:177
virtual void Print(std::ostream &s, int flag=0)
Printing.
Definition: MFreedom_Constraint.cpp:221
bool affectsNode(int) const
Returns true ifafecta to the node cuyo tag being passed as parameter.
Definition: MFreedom_Constraint.cpp:147
void set_constrained_retained_dofs(const ID &constrainedDOF, const ID &retainedDOF)
Sets the retained and constrained degrees of freedom.
Definition: MFreedom_Constraint.cpp:83
virtual size_t getNumRetainedNodes(void) const
Returns the number of retained nodes.
Definition: MFreedom_Constraint.h:116
ID retainDOF
ID of retained DOF at retained node.
Definition: MFreedom_Constraint.h:89
Base class for mult-freedom constraints.
Definition: MFreedom_ConstraintBase.h:57
virtual const ID & getRetainedDOFs(void) const
Returns the identifiers of the retained degrees of freedom.
Definition: MFreedom_Constraint.cpp:151
virtual const int & getNodeRetained(void) const
Returns the tag of the retained (or master) node.
Definition: MFreedom_Constraint.h:110
int getVtkCellType(void) const
Interfaz con VTK.
Definition: MFreedom_Constraint.cpp:233
int recvData(const CommParameters &cp)
Receives data through the channel being passed as parameter.
Definition: MFreedom_Constraint.cpp:186
Multi-freedom constraint. Objectt of this class store the information for a multifreedom constraint...
Definition: MFreedom_Constraint.h:84
void set_retained_dofs(const ID &)
Sets the retained degrees of freedom.
Definition: MFreedom_Constraint.cpp:79
Communication parameters between processes.
Definition: CommParameters.h:65
virtual int & getNodeRetained(void)
Returns the tag of the retained (or master) node.
Definition: MFreedom_Constraint.h:113
================================================================================
Definition: ContinuaReprComponent.h:34
int getMEDCellType(void) const
Interface with Salome MED format.
Definition: MFreedom_Constraint.cpp:240
virtual int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: MFreedom_Constraint.cpp:208