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

ConstraintHandlers enforce the single and multi freedom constraints that exist in the domain by creating the appropriate FE_Element and DOF_Group objects. More...

#include <ConstraintHandler.h>

Inheritance diagram for XC::ConstraintHandler:
XC::MovableObject XC::DistributedBase XC::FactorsConstraintHandler XC::PlainHandler XC::TransformationConstraintHandler XC::LagrangeConstraintHandler XC::PenaltyConstraintHandler

Public Member Functions

virtual int handle (const ID *nodesNumberedLast=0)=0
 
virtual int update (void)
 Update the state of the constraints.
 
virtual int applyLoad (void)
 ??
 
virtual int doneNumberingDOF (void)
 Numbering of degrees of freedom.
 
virtual void clearAll (void)
 Reset the DOF_Group pointers to nullptr for all the nodes.
 
- 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 sendSelf (CommParameters &)=0
 
virtual int recvSelf (const CommParameters &)=0
 
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

const DomaingetDomainPtr (void) const
 Return a const pointer to the domain object associated with the ConstraintHandler.
 
const AnalysisModelgetAnalysisModelPtr (void) const
 Return a const pointer to the analysis model object associated with the ConstraintHandler.
 
const IntegratorgetIntegratorPtr (void) const
 Return a pointer to the Integrator object associated with the ConstraintHandler.
 
DomaingetDomainPtr (void)
 Return a pointer to the Domain object associated with the ConstraintHandler.
 
AnalysisModelgetAnalysisModelPtr (void)
 Returns a pointer to the AnalysisModel object associated with the ConstraintHandler.
 
IntegratorgetIntegratorPtr (void)
 Returns a pointer to the Integrator object associated with the ConstraintHandler.
 
int sendData (CommParameters &)
 Send object members through the channel passed as parameter.
 
int recvData (const CommParameters &)
 Receive object members through the channel passed as parameter.
 
 ConstraintHandler (ModelWrapper *, int classTag)
 Constructor. More...
 
virtual ConstraintHandlergetCopy (void) const =0
 

Friends

class ModelWrapper
 

Detailed Description

ConstraintHandlers enforce the single and multi freedom constraints that exist in the domain by creating the appropriate FE_Element and DOF_Group objects.

A constraint handler is responsible for:

-creating the FE_Element and DOF_Group objects and adding them to the AnalysisModel;

-setting the initial DOF equation numbers to $-1$, $-2$ or $-3$. A $-1$ indicates to the DOF_Numberer object that no equation number is to be allocated for this DOF, a $-3$ that this DOF is to be among the last group of dof to be numbered.

-deleting the DOF_Group and FE_Element objects that it created.

Constructor & Destructor Documentation

XC::ConstraintHandler::ConstraintHandler ( ModelWrapper owr,
int  classTag 
)
protected

Constructor.

Parameters
owrpointer to the model wrapper that owns the handler.
classTagidentifier of the class.

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