33 #include "domain/component/ContinuaReprComponent.h" 59 Constraint(
int spTag,
int nodeTag,
int classTag);
66 virtual int applyConstraint(
double loadFactor)= 0;
74 boost::python::dict
getPyDict(
void)
const;
75 void setPyDict(
const boost::python::dict &);
76 virtual void Print(std::ostream &s,
int flag =0)
const;
virtual const Node * getNode(void) const
Returns a pointer to the constrained node.
Definition: Constraint.cc:106
int recvData(const Communicator &)
Receives members through the communicator argument.
Definition: Constraint.cc:159
int constrNodeTag
constrained node tag
Definition: Constraint.h:51
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: Constraint.cc:177
virtual bool affectsNode(int) const
Returns true ifafecta to the node cuyo tag being passed as parameter.
Definition: Constraint.cc:134
Communication parameters between processes.
Definition: Communicator.h:66
virtual bool affectsNodeAndDOF(int, int) const
Returns true if the constraint affects the node and DOF arguments.
Definition: Constraint.cc:138
int sendData(Communicator &)
Send members through the communicator argument.
Definition: Constraint.cc:149
void setNodeTag(const int &nt)
Sets the identifier of the node that will be constrained.
Definition: Constraint.cc:94
bool initialized
a flag to avoid recomputing the intial value in setDomain if already initialized
Definition: Constraint.h:52
Constraint(int classTag)
Default constructor; receives the tag of the class as a paramenter.
Definition: Constraint.cc:38
Base class for components used to represent the material (continuum).
Definition: ContinuaReprComponent.h:39
virtual int getNodeIdx(void) const
Returns an index for the node (used for VTK arrays).
Definition: Constraint.cc:124
virtual int getVtkCellType(void) const
returns the VTK cell type.
Definition: Constraint.cc:193
~Constraint(void)
Destructor.
Definition: Constraint.cc:50
virtual void Print(std::ostream &s, int flag=0) const
Prints some information about the constraint.
Definition: Constraint.cc:170
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Base class for model constraints.
Definition: Constraint.h:48
virtual int getNodeTag(void) const
Returns the identifier of the constrained node.
Definition: Constraint.cc:99
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:117
Mesh node.
Definition: Node.h:111
void setDomain(Domain *)
Sets the domain for the constraint.
Definition: Constraint.cc:62
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: Constraint.cc:185