28 #ifndef MRMFreedom_Constraint_h 29 #define MRMFreedom_Constraint_h 47 #include "MFreedom_ConstraintBase.h" 48 #include <utility/matrix/Matrix.h> 90 virtual size_t getNumRetainedNodes(
void)
const 91 {
return retainedNodeTags.size(); }
110 virtual void Print(std::ostream &s,
int flag =0);
Base class for mult-freedom constraints.
Definition: MFreedom_ConstraintBase.h:57
int getNumDofGroups(void) const
Returns the number of DOF groups.
Definition: MRMFreedom_Constraint.cc:111
int getNumRetainedDofs(void) const
Number of retained DOFs.
Definition: MRMFreedom_Constraint.cc:125
int sendData(CommParameters &cp)
Send data through the channel being passed as parameter.
Definition: MRMFreedom_Constraint.cc:240
MRMFreedom_Constraint(int tag, int classTag)
Constructor.
Definition: MRMFreedom_Constraint.cc:56
virtual ID & getRetainedNodeTags(void)
Returns the tags of the retained nodes.
Definition: MRMFreedom_Constraint.h:85
bool affectsNode(int) const
Returns true if the constraint affect the node identified by the tag being passed as parameter...
Definition: MRMFreedom_Constraint.cc:135
Vector of integers.
Definition: ID.h:93
std::vector< XC::Node * > getPointersToRetainedNodes(void) const
Returns a vector with the pointers to the retained nodes.
Definition: MRMFreedom_Constraint.cc:177
int addResistingForceToNodalReaction(bool inclInertia)
Add to nodes the actions due to this constraint.
Definition: MRMFreedom_Constraint.cc:199
int recvData(const CommParameters &cp)
Receive data through the channel being passed as parameter.
Definition: MRMFreedom_Constraint.cc:248
virtual int applyConstraint(double pseudoTime)
Applies the constraint.
Definition: MRMFreedom_Constraint.cc:189
Base class for the finite elements.
Definition: Element.h:109
virtual int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: MRMFreedom_Constraint.cc:270
int getNumLagrangeDofs(void) const
Number of affected DOFs for Lagrange handler numConstrainedDOFs+numRetainedDOFs+numLangrangeDOFs.
Definition: MRMFreedom_Constraint.cc:121
virtual int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: MRMFreedom_Constraint.cc:256
int getNumConstrainedDofs(void) const
Number of constrained DOFs.
Definition: MRMFreedom_Constraint.cc:129
bool affectsNodeAndDOF(int, int) const
Returns true if the constraint affects the node and DOF arguments.
Definition: MRMFreedom_Constraint.cc:155
virtual const ID & getConstrainedDOFs(void) const
Returns the identifiers of the constrained degrees of fredom.
Definition: MFreedom_ConstraintBase.cc:118
int getVtkCellType(void) const
Interfaz con VTK.
Definition: MRMFreedom_Constraint.cc:295
Multiple retained nodes constraint.
Definition: MRMFreedom_Constraint.h:58
virtual void Print(std::ostream &s, int flag=0)
Printing.
Definition: MRMFreedom_Constraint.cc:284
int getNumDofs(void) const
Number of the degrees of freedom affected by the constraint.
Definition: MRMFreedom_Constraint.cc:115
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Communication parameters between processes.
Definition: CommParameters.h:65
Matrix of floats.
Definition: Matrix.h:108
virtual const ID & getRetainedDOFs(void) const
Returns the indexes of the degrees of freedom.
Definition: MRMFreedom_Constraint.h:88
Mesh node.
Definition: Node.h:110
ID retainedNodeTags
Retained nodes tags.
Definition: MRMFreedom_Constraint.h:61
virtual const ID & getRetainedNodeTags(void) const
Returns the tags of the retained nodes.
Definition: MRMFreedom_Constraint.h:82