xc
Public Member Functions | List of all members

Glue a node to an element. More...

#include <GlueNodeToElement.h>

Inheritance diagram for XC::GlueNodeToElement:
XC::MRMFreedom_Constraint XC::MFreedom_ConstraintBase XC::Constraint XC::ContinuaReprComponent XC::DomainComponent XC::TaggedObject XC::MovableObject XC::DistributedBase

Public Member Functions

 GlueNodeToElement (int tag)
 Constructor. More...
 
 GlueNodeToElement (int tag, const Node &, const Element &, const ID &)
 Constructor. More...
 
- Public Member Functions inherited from XC::MRMFreedom_Constraint
 MRMFreedom_Constraint (int tag, int classTag)
 Constructor. More...
 
 MRMFreedom_Constraint (int tag)
 Constructor. More...
 
 MRMFreedom_Constraint (int tag, const ID &, int nodeConstr, int classTag)
 
 MRMFreedom_Constraint (int tag, const ID &, int nodeConstr, const ID &constrainedDOF)
 Constructor to be called from subclasses. More...
 
 MRMFreedom_Constraint (int tag, const ID &, int nodeConstr, const ID &constrainedDOF, int classTag)
 Constructor to be called from subclasses. More...
 
 MRMFreedom_Constraint (int tag, const ID &, int nodeConstr, const Matrix &, const ID &constrainedDOF)
 Constructor. More...
 
 MRMFreedom_Constraint (int tag, const Element &, const Node &, const ID &)
 
virtual const IDgetRetainedNodeTags (void) const
 Returns the tags of the retained nodes.
 
virtual IDgetRetainedNodeTags (void)
 Returns the tags of the retained nodes.
 
virtual const IDgetRetainedDOFs (void) const
 Returns the indexes of the degrees of freedom.
 
virtual size_t getNumRetainedNodes (void) const
 
std::vector< XC::Node * > getPointersToRetainedNodes (void) const
 Returns a vector with the pointers to the retained nodes.
 
int getNumDofGroups (void) const
 Returns the number of DOF groups.
 
int getNumDofs (void) const
 Number of the degrees of freedom affected by the constraint.
 
int getNumRetainedDofs (void) const
 Number of retained DOFs.
 
int getNumConstrainedDofs (void) const
 Number of constrained DOFs.
 
int getNumLagrangeDofs (void) const
 Number of affected DOFs for Lagrange handler numConstrainedDOFs+numRetainedDOFs+numLangrangeDOFs. More...
 
bool affectsNode (int) const
 Returns true if the constraint affect the node identified by the tag being passed as parameter. More...
 
bool affectsNodeAndDOF (int, int) const
 Returns true if the constraint affects the node and DOF arguments.
 
virtual int applyConstraint (double pseudoTime)
 Applies the constraint.
 
int addResistingForceToNodalReaction (bool inclInertia)
 Add to nodes the actions due to this constraint. More...
 
virtual int sendSelf (CommParameters &)
 Sends object through the channel being passed as parameter.
 
virtual int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
int getVtkCellType (void) const
 Interfaz con VTK.
 
virtual void Print (std::ostream &s, int flag=0)
 Printing.
 
- 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
 Return the identifier of the constrained node.
 
virtual int & getNodeConstrained (void)
 Return the identifier of the constrained node.
 
virtual const IDgetConstrainedDOFs (void) const
 Returns the identifiers of the constrained degrees of fredom.
 
virtual const MatrixgetConstraint (void) const
 Returns the constraint matrix. More...
 
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 NodegetNode (void) const
 Returns a pointer to the constrained node.
 
virtual int getNodeIdx (void) const
 Returns an index for the node (used for VTK arrays).
 
void setDomain (Domain *)
 Sets the domain for the constraint. More...
 
- 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 DomaingetDomain (void) const
 Returns a pointer to the enclosing domain. More...
 
const PreprocessorgetPreprocessor (void) const
 Returns (if possible) a pointer to the preprocessor.
 
PreprocessorgetPreprocessor (void)
 Return (if possible) a pointer to the preprocessor.
 
void set_index (const size_t &i)
 Set the index for the object (see numera in Set). More...
 
- Public Member Functions inherited from XC::TaggedObject
 TaggedObject (int tag, CommandEntity *owr=nullptr)
 Constructor. More...
 
virtual TaggedObjectgetCopy (void) const
 Virtual constructor.
 
void assignTag (int newTag)
 Set tag (to be called from Python interface).
 
int getTag (void) const
 Returns the tag associated with the object.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int updateParameter (int parameterID, Information &info)
 Updates the parameter identified by parameterID with info.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual DbTagDatagetDbTagData (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::MRMFreedom_Constraint
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::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. More...
 
int sendData (CommParameters &)
 Send object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receive object members through the channel being passed as parameter.
 
- Protected Member Functions inherited from XC::TaggedObject
void setTag (int newTag)
 Set tag. More...
 
- Protected Attributes inherited from XC::MRMFreedom_Constraint
ID retainedNodeTags
 Retained nodes tags.
 
- 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
 

Detailed Description

Glue a node to an element.

Constructor & Destructor Documentation

§ GlueNodeToElement() [1/2]

XC::GlueNodeToElement::GlueNodeToElement ( int  tag)

Constructor.

Parameters
tagtag for the constraint.

§ GlueNodeToElement() [2/2]

XC::GlueNodeToElement::GlueNodeToElement ( int  tag,
const Node node,
const Element elem,
const ID constrainedDOF 
)

Constructor.

Parameters
tagtag for the constraint.
nodenode to be glued.
elemelement to glue to.
constrainedDOFconstrained degrees of freedom.

The documentation for this class was generated from the following files: