XC Open source finite element analysis program
Public Member Functions | Protected Member Functions | Friends | List of all members
XC::ConstraintLoader Class Reference

Constraint cration tools. More...

#include <ConstraintLoader.h>

Inheritance diagram for XC::ConstraintLoader:
XC::Loader XC::MovableObject XC::DistributedBase

Public Member Functions

 ConstraintLoader (Preprocessor *owr)
 Default constructor.
 
const int & getTagNextSPConstraint (void) const
 
const int & getTagNextMPConstraint (void) const
 
const int & getTagNextMRMPConstraint (void) const
 
int getNumSPs (void) const
 returns number of single node constraints.
 
int getNumMPs (void) const
 returns numbr of multiple node constraints.
 
int getNumMRMPs (void) const
 returns numbr of multiple retained node constraints.
 
int getNumLPs (void) const
 returns number of load patterns.
 
SFreedom_ConstraintnewSPConstraint (const int &, const int &, const double &)
 Defines a single freedom constraint.
 
void removeSPConstraint (const int &tagC)
 Elimina la coacción del domain.
 
MFreedom_ConstraintnewMPConstraint (const int &, const int &, const ID &, const ID &)
 Appends a multi-freedom constraint to the model.
 
MFreedom_ConstraintnewEqualDOF (const int &, const int &, const ID &)
 Imposes the same displacements on both nodes for the components specified in the argument. More...
 
MFreedom_ConstraintnewRigidBeam (const int &, const int &)
 
MFreedom_ConstraintnewRigidRod (const int &, const int &)
 
MRMFreedom_ConstraintnewMRMPConstraint (const ID &, const int &, const ID &)
 Appends a multi-row, multi-freedom constraint to the model.
 
MRMFreedom_ConstraintnewGlueNodeToElement (const Node &, const Element &, const ID &)
 
void clearAll (void)
 Clears all the objects.
 
- Public Member Functions inherited from XC::Loader
 Loader (Preprocessor *owr)
 Default constructor.
 
DomaingetDomain (void) const
 Returns the domain.
 
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.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor.
 
 MovableObject (int classTag)
 Constructor.
 
 MovableObject (const MovableObject &otro)
 Copy constructor.
 
MovableObjectoperator= (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 &param)
 
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 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.
 

Protected Member Functions

SFreedom_ConstraintaddSFreedom_Constraint (const int &, const SFreedom_Constraint &)
 Appends a single freedom constraint to the model.
 
SFreedom_ConstraintaddSFreedom_Constraint (const int &, const int &, const double &valor)
 Appends a single freedom constraint to the model.
 
- Protected Member Functions inherited from XC::Loader
void set_preprocessor (Preprocessor *preprocessor)
 Assigns the preprocessor.
 

Friends

class Node
 
class SetMeshComp
 

Additional Inherited Members

- Protected Attributes inherited from XC::Loader
Preprocessorpreprocessor
 Pointer to preprocessor.
 

Detailed Description

Constraint cration tools.

Member Function Documentation

XC::MFreedom_Constraint * XC::ConstraintLoader::newEqualDOF ( const int &  masterNode,
const int &  slaveNode,
const ID dofs 
)

Imposes the same displacements on both nodes for the components specified in the argument.

Parameters
masterNodetag of the master node.
slaveNodetag of the slave node.
dofsdegrees of freedom to impose the constraint on.

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