52 #ifndef SFreedom_Constraint_h 53 #define SFreedom_Constraint_h 68 #include "Constraint.h" 102 SFreedom_Constraint(
int spTag,
int nodeTag,
int ndof,
double value,
bool isConstant=
true);
109 virtual double getValue(
void)
const;
114 inline void setIsConstant(
const bool &b)
116 inline bool getIsConstant(
void)
const 124 virtual void Print(std::ostream &s,
int flag =0);
virtual void setLoadPatternTag(int loadPaternTag)
Sets the load pattern tag for the constraint.
Definition: SFreedom_Constraint.cpp:195
int dofNumber
identifies which of the nodes dof is constrained
Definition: SFreedom_Constraint.h:87
virtual SFreedom_Constraint * getCopy(void) const
Virtual constructor.
Definition: SFreedom_Constraint.cpp:128
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:43
virtual bool affectsNodeAndDOF(int, int) const
Returns true if the constraint affects the node and DOF arguments.
Definition: SFreedom_Constraint.cpp:145
DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the object members.
Definition: SFreedom_Constraint.cpp:203
virtual int applyConstraint(double loadFactor)
Applies the constraint with the load factor being passed as parameter.
Definition: SFreedom_Constraint.cpp:168
SFreedom_Constraint(int classTag)
Default constructor.
Definition: SFreedom_Constraint.cpp:78
virtual void Print(std::ostream &s, int flag=0)
Prints constraint information.
Definition: SFreedom_Constraint.cpp:263
Single freedom constraint.
Definition: SFreedom_Constraint.h:84
virtual double getValue(void) const
Returns the value of the prescribed displacement.
Definition: SFreedom_Constraint.cpp:158
int sendData(CommParameters &cp)
Sends data through the channel being passed as parameter.
Definition: SFreedom_Constraint.cpp:210
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: SFreedom_Constraint.cpp:230
virtual bool isHomogeneous(void) const
Returns true if it's an homogeneous constraint (prescribed value for the DOF is zero).
Definition: SFreedom_Constraint.cpp:184
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: SFreedom_Constraint.cpp:243
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
Communication parameters between processes.
Definition: CommParameters.h:65
int recvData(const CommParameters &cp)
Receives data through the channel being passed as parameter.
Definition: SFreedom_Constraint.cpp:220
int getVtkCellType(void) const
Returns the cell type to be used to represent the object in VTK graphics.
Definition: SFreedom_Constraint.cpp:258
Base class for model constraints.
Definition: Constraint.h:49
virtual int getLoadPatternTag(void) const
Return the load pattern tag of the constraint.
Definition: SFreedom_Constraint.cpp:199
virtual int getDOF_Number(void) const
Returns the constrained DOF number.
Definition: SFreedom_Constraint.cpp:141
double valueR
the reference value
Definition: SFreedom_Constraint.h:88
bool isConstant
flag indicating if constant
Definition: SFreedom_Constraint.h:90
double valueC
if constant = the reference value, if not constant = the reference value * load factor ...
Definition: SFreedom_Constraint.h:89