29 #ifndef MRMFreedom_Constraint_h 30 #define MRMFreedom_Constraint_h 48 #include "MFreedom_ConstraintBase.h" 49 #include <utility/matrix/Matrix.h> 66 void initializeUr0i(
void);
67 void initializeUr0i(
const Domain *);
95 virtual size_t getNumRetainedNodes(
void)
const 96 {
return retainedNodeTags.size(); }
117 boost::python::dict
getPyDict(
void)
const;
118 void setPyDict(
const boost::python::dict &);
122 virtual void Print(std::ostream &s,
int flag =0)
const;
virtual int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: MRMFreedom_Constraint.cc:414
Float vector abstraction.
Definition: Vector.h:94
Base class for mult-freedom constraints.
Definition: MFreedom_ConstraintBase.h:58
int sendData(Communicator &comm)
Send data through the communicator argument.
Definition: MRMFreedom_Constraint.cc:370
int getNumDofGroups(void) const
Returns the number of DOF groups.
Definition: MRMFreedom_Constraint.cc:191
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: MRMFreedom_Constraint.cc:393
Communication parameters between processes.
Definition: Communicator.h:66
int getNumRetainedDofs(void) const
Number of retained DOFs.
Definition: MRMFreedom_Constraint.cc:205
MRMFreedom_Constraint(int tag, int classTag)
Constructor.
Definition: MRMFreedom_Constraint.cc:104
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: MRMFreedom_Constraint.cc:386
virtual ID & getRetainedNodeTags(void)
Returns the tags of the retained nodes.
Definition: MRMFreedom_Constraint.h:90
virtual int sendSelf(Communicator &)
Sends object through the communicator argument.
Definition: MRMFreedom_Constraint.cc:400
bool affectsNode(int) const
Returns true if the constraint affect the node identified by the tag being passed as parameter...
Definition: MRMFreedom_Constraint.cc:215
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:44
Vector of integers.
Definition: ID.h:95
int addResistingForceToNodalReaction(bool inclInertia)
Add to nodes the actions due to this constraint.
Definition: MRMFreedom_Constraint.cc:321
virtual int applyConstraint(double pseudoTime)
Applies the constraint.
Definition: MRMFreedom_Constraint.cc:299
int recvData(const Communicator &comm)
Receive data through the communicator argument.
Definition: MRMFreedom_Constraint.cc:378
Base class for the finite elements.
Definition: Element.h:112
void setDomain(Domain *)
Sets the domain for the constraint.
Definition: MRMFreedom_Constraint.cc:236
int getNumLagrangeDofs(void) const
Number of affected DOFs for Lagrange handler numConstrainedDOFs+numRetainedDOFs+numLangrangeDOFs.
Definition: MRMFreedom_Constraint.cc:201
int getNumConstrainedDofs(void) const
Number of constrained DOFs.
Definition: MRMFreedom_Constraint.cc:209
const std::vector< Vector > & getRetainedDOFsInitialDisplacements(void) const
Return the initial displacements of the retained DOFs for all the retained nodes. ...
Definition: MRMFreedom_Constraint.cc:307
bool affectsNodeAndDOF(int, int) const
Returns true if the constraint affects the node and DOF arguments.
Definition: MRMFreedom_Constraint.cc:253
virtual const ID & getConstrainedDOFs(void) const
Returns the identifiers of the constrained degrees of fredom.
Definition: MFreedom_ConstraintBase.cc:170
DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the class members.
Definition: MRMFreedom_Constraint.cc:363
int getVtkCellType(void) const
Interfaz con VTK.
Definition: MRMFreedom_Constraint.cc:439
std::vector< Node * > getPointersToRetainedNodes(void)
Returns a vector with the pointers to the retained nodes.
Definition: MRMFreedom_Constraint.cc:275
Multiple retained nodes constraint.
Definition: MRMFreedom_Constraint.h:59
int getNumDofs(void) const
Number of the degrees of freedom affected by the constraint.
Definition: MRMFreedom_Constraint.cc:195
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Matrix of floats.
Definition: Matrix.h:111
std::vector< Vector > Ur0i
initial displacements at retained nodes (same size as retainDOF)
Definition: MRMFreedom_Constraint.h:63
virtual const ID & getRetainedDOFs(void) const
Returns the indexes of the degrees of freedom.
Definition: MRMFreedom_Constraint.h:93
virtual const Vector & getRetainedDOFsInitialDisplacement(const size_t &) const
Return the initial displacements of the retained DOFs for the j-th node.
Definition: MRMFreedom_Constraint.cc:312
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:117
Mesh node.
Definition: Node.h:111
virtual void Print(std::ostream &s, int flag=0) const
Printing.
Definition: MRMFreedom_Constraint.cc:428
ID retainedNodeTags
Retained nodes tags.
Definition: MRMFreedom_Constraint.h:62
virtual const ID & getRetainedNodeTags(void) const
Returns the tags of the retained nodes.
Definition: MRMFreedom_Constraint.h:87