53 #ifndef MFreedom_Constraint_h 54 #define MFreedom_Constraint_h 67 #include "MFreedom_ConstraintBase.h" 68 #include <utility/matrix/Matrix.h> 134 MFreedom_Constraint(
int tag,
int nodeRetain,
int nodeConstr,
const ID &constrainedDOF,
const ID &retainedDOF,
int classTag);
161 boost::python::dict
getPyDict(
void)
const;
162 void setPyDict(
const boost::python::dict &);
168 virtual void Print(std::ostream &s,
int flag =0)
const;
bool affectsNode(int) const
Returns true ifafecta to the node cuyo tag being passed as parameter.
Definition: MFreedom_Constraint.cpp:207
void initializeUr0(const Domain *)
Compute the initial displacement at retained DOFs.
Definition: MFreedom_Constraint.cpp:157
virtual const int & getNodeRetained(void) const
Returns the tag of the retained (or primary) node.
Definition: MFreedom_Constraint.h:140
int sendData(Communicator &comm)
Sends data through the communicator argument.
Definition: MFreedom_Constraint.cpp:272
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: MFreedom_Constraint.cpp:301
Float vector abstraction.
Definition: Vector.h:94
Base class for mult-freedom constraints.
Definition: MFreedom_ConstraintBase.h:58
void setDomain(Domain *)
Sets the domain for the constraint.
Definition: MFreedom_Constraint.cpp:190
Communication parameters between processes.
Definition: Communicator.h:66
int addResistingForceToNodalReaction(bool inclInertia)
Add to nodes the actions due to this constraint.
Definition: MFreedom_Constraint.cpp:341
virtual const Vector & getRetainedDOFsInitialDisplacement(void) const
Return the initial displacements of the retained DOFs.
Definition: MFreedom_Constraint.cpp:232
virtual int sendSelf(Communicator &)
Sends object through the communicator argument.
Definition: MFreedom_Constraint.cpp:310
int getVtkCellType(void) const
Interfaz con VTK.
Definition: MFreedom_Constraint.cpp:390
void set_constrained_retained_dofs(const ID &constrainedDOF, const ID &retainedDOF)
Sets the retained and constrained degrees of freedom.
Definition: MFreedom_Constraint.cpp:85
Vector of integers.
Definition: ID.h:95
void set_retained_dofs(const ID &)
Sets the retained degrees of freedom.
Definition: MFreedom_Constraint.cpp:77
bool affectsNodeAndDOF(int, int) const
Returns true if the constraint affects the node and DOF arguments.
Definition: MFreedom_Constraint.cpp:211
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: MFreedom_Constraint.cpp:292
virtual int applyConstraint(double pseudoTime)
Applies the constraint at the pseudo-time being passed as parameter.
Definition: MFreedom_Constraint.cpp:265
virtual void Print(std::ostream &s, int flag=0) const
Printing.
Definition: MFreedom_Constraint.cpp:378
MFreedom_Constraint(int tag, int classTag)
!
Definition: MFreedom_Constraint.cpp:95
virtual int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: MFreedom_Constraint.cpp:324
std::vector< Node * > getPointersToRetainedNodes(void)
Returns a vector with the pointers to the retained nodes.
Definition: MFreedom_Constraint.cpp:238
int recvData(const Communicator &comm)
Receives data through the communicator argument.
Definition: MFreedom_Constraint.cpp:282
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
int retainedNodeTag
Tag of the retained node.
Definition: MFreedom_Constraint.h:116
Matrix of floats.
Definition: Matrix.h:111
virtual const ID & getRetainedDOFs(void) const
Returns the identifiers of the retained degrees of freedom.
Definition: MFreedom_Constraint.cpp:225
Multi-freedom constraint.
Definition: MFreedom_Constraint.h:113
Vector Ur0
initial displacement at retained node (same size as retainDOF)
Definition: MFreedom_Constraint.h:118
virtual int & getNodeRetained(void)
Returns the tag of the retained (or primary) node.
Definition: MFreedom_Constraint.h:143
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:117
virtual size_t getNumRetainedNodes(void) const
Returns the number of retained nodes.
Definition: MFreedom_Constraint.h:146
ID retainDOF
ID of retained DOF at retained node.
Definition: MFreedom_Constraint.h:117