52 #ifndef MFreedom_Constraint_h 53 #define MFreedom_Constraint_h 66 #include "MFreedom_ConstraintBase.h" 67 #include <utility/matrix/Matrix.h> 129 MFreedom_Constraint(
int tag,
int nodeRetain,
int nodeConstr,
const ID &constrainedDOF,
const ID &retainedDOF,
int classTag);
157 virtual void Print(std::ostream &s,
int flag =0);
bool affectsNode(int) const
Returns true ifafecta to the node cuyo tag being passed as parameter.
Definition: MFreedom_Constraint.cpp:155
virtual const int & getNodeRetained(void) const
Returns the tag of the retained (or master) node.
Definition: MFreedom_Constraint.h:135
int recvData(const CommParameters &cp)
Receives data through the channel being passed as parameter.
Definition: MFreedom_Constraint.cpp:212
Base class for mult-freedom constraints.
Definition: MFreedom_ConstraintBase.h:57
int addResistingForceToNodalReaction(bool inclInertia)
Add to nodes the actions due to this constraint.
Definition: MFreedom_Constraint.cpp:252
int getVtkCellType(void) const
Interfaz con VTK.
Definition: MFreedom_Constraint.cpp:300
void set_constrained_retained_dofs(const ID &constrainedDOF, const ID &retainedDOF)
Sets the retained and constrained degrees of freedom.
Definition: MFreedom_Constraint.cpp:82
Vector of integers.
Definition: ID.h:93
void set_retained_dofs(const ID &)
Sets the retained degrees of freedom.
Definition: MFreedom_Constraint.cpp:78
bool affectsNodeAndDOF(int, int) const
Returns true if the constraint affects the node and DOF arguments.
Definition: MFreedom_Constraint.cpp:159
virtual int applyConstraint(double pseudoTime)
Applies the constraint at the pseudo-time being passed as parameter.
Definition: MFreedom_Constraint.cpp:196
MFreedom_Constraint(int tag, int classTag)
!
Definition: MFreedom_Constraint.cpp:92
virtual void Print(std::ostream &s, int flag=0)
Printing.
Definition: MFreedom_Constraint.cpp:288
std::vector< XC::Node * > getPointersToRetainedNodes(void) const
Returns a vector with the pointers to the retained nodes.
Definition: MFreedom_Constraint.cpp:180
virtual int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: MFreedom_Constraint.cpp:221
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
int retainedNodeTag
Tag of the retained node.
Definition: MFreedom_Constraint.h:113
int sendData(CommParameters &cp)
Sends data through the channel being passed as parameter.
Definition: MFreedom_Constraint.cpp:203
virtual int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: MFreedom_Constraint.cpp:235
Communication parameters between processes.
Definition: CommParameters.h:65
Matrix of floats.
Definition: Matrix.h:108
virtual const ID & getRetainedDOFs(void) const
Returns the identifiers of the retained degrees of freedom.
Definition: MFreedom_Constraint.cpp:173
Multi-freedom constraint.
Definition: MFreedom_Constraint.h:110
virtual int & getNodeRetained(void)
Returns the tag of the retained (or master) node.
Definition: MFreedom_Constraint.h:138
virtual size_t getNumRetainedNodes(void) const
Returns the number of retained nodes.
Definition: MFreedom_Constraint.h:141
ID retainDOF
ID of retained DOF at retained node.
Definition: MFreedom_Constraint.h:114