32 #include "domain/component/ContinuaReprComponent.h" 59 Constraint(
int spTag,
int nodeTag,
int classTag);
66 virtual int applyConstraint(
double loadFactor)= 0;
74 virtual void Print(std::ostream &s,
int flag =0);
virtual const Node * getNode(void) const
Returns a pointer to the constrained node.
Definition: Constraint.cc:95
int constrNodeTag
constrained node tag
Definition: Constraint.h:52
virtual bool affectsNode(int) const
Returns true ifafecta to the node cuyo tag being passed as parameter.
Definition: Constraint.cc:115
virtual bool affectsNodeAndDOF(int, int) const
Returns true if the constraint affects the node and DOF arguments.
Definition: Constraint.cc:119
void setNodeTag(const int &nt)
Sets the identifier of the node that will be constrained.
Definition: Constraint.cc:83
Constraint(int classTag)
Default constructor; receives the tag of the class as a paramenter.
Definition: Constraint.cc:38
int recvData(const CommParameters &)
Receives members through the channel being passed as parameter.
Definition: Constraint.cc:138
Base class for components used to represent the material (continuum).
Definition: ContinuaReprComponent.h:37
int sendData(CommParameters &)
Send members through the channel being passed as parameter.
Definition: Constraint.cc:129
virtual int getNodeIdx(void) const
Returns an index for the node (used for VTK arrays).
Definition: Constraint.cc:105
virtual int getVtkCellType(void) const
returns the VTK cell type.
Definition: Constraint.cc:155
~Constraint(void)
Destructor.
Definition: Constraint.cc:50
virtual void Print(std::ostream &s, int flag=0)
Prints some information about the constraint.
Definition: Constraint.cc:148
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Communication parameters between processes.
Definition: CommParameters.h:65
Base class for model constraints.
Definition: Constraint.h:49
virtual int getNodeTag(void) const
Returns the identifier of the constrained node.
Definition: Constraint.cc:88
Domain (mesh and boundary conditions) of the finite element model.
Definition: Domain.h:116
Mesh node.
Definition: Node.h:110
void setDomain(Domain *)
Sets the domain for the constraint.
Definition: Constraint.cc:62