xc
Public Member Functions | Protected Member Functions | Friends | List of all members
XC::BoundaryCondHandler Class Reference

Constraint cration tools. More...

#include <BoundaryCondHandler.h>

Inheritance diagram for XC::BoundaryCondHandler:
XC::PrepHandler XC::PreprocessorContainer XC::MovableObject XC::DistributedBase

Public Member Functions

 BoundaryCondHandler (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)
 Removes the constraint from 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::PrepHandler
 PrepHandler (Preprocessor *owr)
 Default constructor.
 
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::PreprocessorContainer
 PreprocessorContainer (Preprocessor *owr)
 Default constructor.
 
const DomaingetDomain (void) const
 Returns the domain.
 
DomaingetDomain (void)
 Returns the domain.
 
PreprocessorgetPreprocessor (void)
 Returns a pointer to the object preprocessor.
 
const PreprocessorgetPreprocessor (void) const
 Returns a pointer to the object preprocessor.
 
void checkPreprocessor (void)
 
- 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.
 

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 &)
 Appends a single freedom constraint to the model.
 

Friends

class Node
 
class SetMeshComp
 

Detailed Description

Constraint cration tools.

Member Function Documentation

§ newEqualDOF()

XC::MFreedom_Constraint * XC::BoundaryCondHandler::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: