XC Open source finite element analysis program
|
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>
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. | |
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 | sendSelf (CommParameters &)=0 |
virtual int | recvSelf (const CommParameters &)=0 |
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. | |
Protected Member Functions | |
const Domain * | getDomainPtr (void) const |
Return a const pointer to the domain object associated with the ConstraintHandler. | |
const AnalysisModel * | getAnalysisModelPtr (void) const |
Return a const pointer to the analysis model object associated with the ConstraintHandler. | |
const Integrator * | getIntegratorPtr (void) const |
Return a pointer to the Integrator object associated with the ConstraintHandler. | |
Domain * | getDomainPtr (void) |
Return a pointer to the Domain object associated with the ConstraintHandler. | |
AnalysisModel * | getAnalysisModelPtr (void) |
Returns a pointer to the AnalysisModel object associated with the ConstraintHandler. | |
Integrator * | getIntegratorPtr (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 ConstraintHandler * | getCopy (void) const =0 |
Friends | |
class | ModelWrapper |
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.
|
protected |
Constructor.
owr | pointer to the model wrapper that owns the handler. |
classTag | identifier of the class. |