XC Open source finite element analysis program
|
??. More...
#include <MFreedom_Joint2D.h>
Public Member Functions | |
MFreedom_Joint2D (void) | |
Constructor. | |
MFreedom_Joint2D (Domain *theDomain, int tag, int nodeRetain, int nodeConstr, int Maindof, int fixedend, int LrgDsp=0) | |
Constructor. More... | |
int | applyConstraint (double pseudoTime) |
Applies the constraint at the pseudo-time being passed as parameter. | |
virtual const Matrix & | getConstraint (void) const |
Returns the constraint matrix. | |
int | sendSelf (CommParameters &) |
Sends the object through the channel being passed as parameter. | |
int | recvSelf (const CommParameters &) |
Receives the object through the channel being passed as parameter. | |
void | Print (std::ostream &s, int flag=0) |
Printing. | |
Public Member Functions inherited from XC::MFreedom_Joint | |
MFreedom_Joint (int tag, int classTag) | |
Constructor. More... | |
MFreedom_Joint (Domain *theDomain, int tag, int classTag, int nodeRetain, int nodeConstr, int LrgDsp) | |
Constructor. More... | |
~MFreedom_Joint (void) | |
Destructor. | |
bool | isTimeVarying (void) const |
Returns true if constraint varies with time (geometric non-linearity). | |
void | setDomain (Domain *theDomain) |
Sets the domain of the constraint. | |
Public Member Functions inherited from XC::MFreedom_Constraint | |
MFreedom_Constraint (int tag, int classTag) | |
! More... | |
MFreedom_Constraint (int tag) | |
Constructor. // LCPT. | |
MFreedom_Constraint (int tag, int nodeRetain, int nodeConstr, int classTag) | |
MFreedom_Constraint (int tag, int nodeRetain, int nodeConstr, const ID &constrainedDOF, const ID &retainedDOF) | |
MFreedom_Constraint (int tag, int nodeRetain, int nodeConstr, const ID &constrainedDOF, const ID &retainedDOF, int classTag) | |
MFreedom_Constraint (int tag, int nodeRetain, int nodeConstr, Matrix &constrnt, ID &constrainedDOF, ID &retainedDOF) | |
Constructor. More... | |
virtual const int & | getNodeRetained (void) const |
Returns the tag of the retained (or master) node. | |
virtual int & | getNodeRetained (void) |
Returns the tag of the retained (or master) node. | |
virtual size_t | getNumRetainedNodes (void) const |
Returns the number of retained nodes. | |
std::vector< XC::Node * > | getPointersToRetainedNodes (void) const |
Returns a vector with the pointers to the retained nodes. | |
bool | affectsNode (int) const |
Returns true ifafecta to the node cuyo tag being passed as parameter. | |
virtual const ID & | getRetainedDOFs (void) const |
Returns the identifiers of the retained degrees of freedom. | |
int | getVtkCellType (void) const |
Interfaz con VTK. | |
int | getMEDCellType (void) const |
Interface with Salome MED format. | |
Public Member Functions inherited from XC::MFreedom_ConstraintBase | |
MFreedom_ConstraintBase (int tag, int classTag) | |
Constructor. More... | |
MFreedom_ConstraintBase (int tag, int nodeConstr, int classTag) | |
Constructor to be called from subclasses. More... | |
MFreedom_ConstraintBase (int tag, int nodeConstr, const ID &, int classTag) | |
Constructor to be called from subclasses. More... | |
MFreedom_ConstraintBase (int tag, int nodeConstr, const Matrix &, const ID &, int classTag) | |
Constructor. More... | |
virtual const int & | getNodeConstrained (void) const |
virtual int & | getNodeConstrained (void) |
bool | affectsNode (int) const |
Returns true if the constraints affects the node identified by the tag being passed as parameter. | |
virtual const ID & | getConstrainedDOFs (void) const |
Returns the identifiers of the constrained degrees of fredom. | |
bool | isTimeVarying (void) const |
Returns true if the constraint varies with time. | |
int | addResistingForceToNodalReaction (bool inclInertia) |
Add reactions to nodes. | |
Public Member Functions inherited from XC::Constraint | |
Constraint (int classTag) | |
Default constructor; receives the tag of the class as a paramenter. More... | |
Constraint (int spTag, int nodeTag, int classTag) | |
Constructor. More... | |
~Constraint (void) | |
Destructor. | |
void | setNodeTag (const int &nt) |
Sets the identifier of the node that will be constrained. More... | |
virtual int | getNodeTag (void) const |
Returns the identifier of the constrained node. | |
virtual const Node * | getNode (void) const |
Returns a pointer to the constrained node. | |
virtual int | getNodeIdx (void) const |
Returns an index for the node (used for VTK arrays). | |
Public Member Functions inherited from XC::ContinuaReprComponent | |
ContinuaReprComponent (int classTag) | |
ContinuaReprComponent (int tag, int classTag) | |
virtual const bool | isDead (void) const |
virtual const bool | isAlive (void) const |
virtual void | kill (void) |
virtual void | alive (void) |
Public Member Functions inherited from XC::DomainComponent | |
~DomainComponent (void) | |
Destructor. | |
size_t | getIdx (void) const |
Returns the index of the object (to be used in VTK arrays). | |
virtual Domain * | getDomain (void) const |
Returns a pointer to the domain. | |
const Preprocessor * | GetPreprocessor (void) const |
Returns (if possible) a pointer to the preprocessor. | |
Preprocessor * | GetPreprocessor (void) |
Returns (if possible) a pointer to the preprocessor. | |
void | set_indice (const size_t &i) |
Set the index for the object (see numera in Set). This index is used on VTK arrays. | |
Public Member Functions inherited from XC::TaggedObject | |
TaggedObject (int tag, EntCmd *owr=nullptr) | |
Constructor. | |
virtual TaggedObject * | getCopy (void) const |
Virtual constructor. | |
void | assignTag (int newTag) |
Establece el valor del tag. | |
int | getTag (void) const |
Public Member Functions inherited from XC::MovableObject | |
MovableObject (int classTag, int dbTag) | |
Constructor. | |
MovableObject (int classTag) | |
Constructor. | |
MovableObject (const MovableObject &otro) | |
Copy constructor. | |
MovableObject & | operator= (const MovableObject &otro) |
Operacdor asignación. | |
int | getClassTag (void) const |
Returns the tag de la clase. | |
int | getDbTag (void) const |
Returns the tag para la database. | |
int | getDbTag (CommParameters &) |
Returns the tag para la database. | |
void | setDbTag (int dbTag) |
Asigna el tag para la database. | |
void | setDbTag (CommParameters &) |
Asigna, sólo si es preciso, el tag para la database. | |
virtual int | setParameter (const std::vector< std::string > &argv, Parameter ¶m) |
virtual int | updateParameter (int parameterID, Information &info) |
virtual int | activateParameter (int parameterID) |
virtual int | setVariable (const std::string &variable, Information &) |
Returns the identificador de la variable cuyo nombre being passed as parameter. | |
virtual int | getVariable (const std::string &variable, Information &) |
Public Member Functions inherited from XC::DistributedBase | |
DistributedBase (void) | |
Constructor. | |
virtual DbTagData & | getDbTagData (void) const |
Returns a vector to store class dbTags. | |
const int & | getDbTagDataPos (const int &i) const |
Returns the data at the i-th position. | |
void | setDbTagDataPos (const int &i, const int &v) |
Sets the data at the i-th position. | |
void | inicComm (const int &dataSize) const |
Initializes communication. | |
Additional Inherited Members | |
Protected Member Functions inherited from XC::MFreedom_Constraint | |
void | set_retained_dofs (const ID &) |
Sets the retained degrees of freedom. | |
void | set_constrained_retained_dofs (const ID &constrainedDOF, const ID &retainedDOF) |
Sets the retained and constrained degrees of freedom. | |
int | sendData (CommParameters &cp) |
Sends data through the channel being passed as parameter. | |
int | recvData (const CommParameters &cp) |
Receives data through the channel being passed as parameter. | |
Protected Member Functions inherited from XC::MFreedom_ConstraintBase | |
void | set_constraint (const Matrix &c) |
Set the constraint matrix. | |
void | set_constrained_dofs (const ID &) |
Set the constrained degrees of freedom. More... | |
int | sendData (CommParameters &cp) |
Send data through the channel being passed as parameter. | |
int | recvData (const CommParameters &cp) |
Receive data through the channel being passed as parameter. | |
Protected Member Functions inherited from XC::Constraint | |
int | sendData (CommParameters &) |
Send members through the channel being passed as parameter. More... | |
int | recvData (const CommParameters &) |
Receives members through the channel being passed as parameter. More... | |
Protected Member Functions inherited from XC::ContinuaReprComponent | |
int | sendData (CommParameters &) |
Send members through the channel being passed as parameter. | |
int | recvData (const CommParameters &) |
Receives members through the channel being passed as parameter. | |
Protected Member Functions inherited from XC::DomainComponent | |
DomainComponent (int tag, int classTag) | |
Constructor. | |
int | sendData (CommParameters &) |
Send object members through the channel being passed as parameter. | |
int | recvData (const CommParameters &) |
Receives object members through the channel being passed as parameter. | |
Protected Member Functions inherited from XC::TaggedObject | |
void | setTag (int newTag) |
Establece el valor del tag. | |
Protected Attributes inherited from XC::MFreedom_Joint | |
Node * | RetainedNode |
to identify the retained node | |
Node * | ConstrainedNode |
to identify the constrained node | |
int | LargeDisplacement |
flag for large displacements enabled; LrgDsp=0 means large displacement is not enabled | |
double | Length0 |
Protected Attributes inherited from XC::MFreedom_Constraint | |
int | retainedNodeTag |
Tag of the retained node. | |
ID | retainDOF |
ID of retained DOF at retained node. | |
Protected Attributes inherited from XC::MFreedom_ConstraintBase | |
Matrix | constraintMatrix |
Constraint matrix. | |
ID | constrDOF |
ID of constrained DOF at constrained node. | |
Protected Attributes inherited from XC::Constraint | |
int | constrNodeTag |
constrained node tag | |
??.
XC::MFreedom_Joint2D::MFreedom_Joint2D | ( | Domain * | domain, |
int | tag, | ||
int | nodeRetain, | ||
int | nodeConstr, | ||
int | Maindof, | ||
int | fixedend, | ||
int | LrgDsp = 0 |
||
) |
Constructor.
theDomain | domain where the constraint is defined. |
tag | tag for the multi-freedom constraint. |
nodeRetain | identifier of the retained node. |
nodeConstr | identifier of the constrained node. |
LrgDsp | true if large displacement (geometric non-linearity) must be expected: 0 for constant constraint matrix(small deformations), 1 for time varying constraint matrix(large deformations), 2 for large deformations with length correction. |