Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ConstraintHandler Class Reference

#include <ConstraintHandler.h>

Inheritance diagram for ConstraintHandler::

MovableObject LagrangeConstraintHandler PenaltyConstraintHandler PlainHandler TransformationConstraintHandler List of all members.

Public Methods

 ConstraintHandler (int classTag)
virtual ~ConstraintHandler ()
void setLinks (Domain &theDomain, AnalysisModel &theModel, Integrator &theIntegrator)
virtual int handle (const ID *nodesNumberedLast=0)=0
 pure virtual functions. More...

virtual void clearAll (void)=0

Protected Methods

Domain* getDomainPtr (void) const
AnalysisModel* getAnalysisModelPtr (void) const
Integrator* getIntegratorPtr (void) const

Detailed Description

The ConstraintHandler class is an abstract base class. Its purpose is to define the interface common among all subclasses. A constraint handler is responsible for: \begin{enumerate} \item creating the FE\_Element and DOF\_Group objects and adding them to the AnalysisModel. \item setting the initial dof equation numbers to , or . A indicates to the DOF\_Numberer object that no equation number is to be allocated for this dof, a that this dof is to be among the last group of dof to be numbered. \item deleting the DOF\_Group and FE\_Element objects that it created.\end{enumerate}

}

Definition at line 67 of file ConstraintHandler.h.


Constructor & Destructor Documentation

ConstraintHandler::ConstraintHandler ( int classTag )
 

The integer {classTag} is passed to the MovableObject constructor.

Definition at line 41 of file ConstraintHandler.cpp.

ConstraintHandler::~ConstraintHandler ( ) [virtual]
 

Does nothing.

Definition at line 48 of file ConstraintHandler.cpp.


Member Function Documentation

void ConstraintHandler::clearAll ( void ) [pure virtual]
 

Invoked to inform the ConstraintHandler object that the FE\_Elements and DOF\_Groups it constructed are no longer part of the AnalysisModel. The ConstraintHandler can delete these objects if necessary; or the ConstraintHandler can store them and use them in subsequent calls to {handle()}.

Reimplemented in LagrangeConstraintHandler, PenaltyConstraintHandler, PlainHandler, and TransformationConstraintHandler.

Referenced by StaticAnalysis::domainChanged(), EigenAnalysis::domainChanged(), DomainDecompositionAnalysis::domainChanged(), and DirectIntegrationAnalysis::domainChanged().

AnalysisModel * ConstraintHandler::getAnalysisModelPtr ( void ) const [protected]
 

A const member function to return the AnalysisModel object associated with the ConstraintHandler, {theModel}.

Definition at line 72 of file ConstraintHandler.cpp.

Referenced by TransformationConstraintHandler::handle(), PlainHandler::handle(), PenaltyConstraintHandler::handle(), and LagrangeConstraintHandler::handle().

Domain * ConstraintHandler::getDomainPtr ( void ) const [protected]
 

A const member function to return the Domain object associated with the ConstraintHandler, {theDomain}.

Definition at line 66 of file ConstraintHandler.cpp.

Referenced by TransformationConstraintHandler::clearAll(), PlainHandler::clearAll(), PenaltyConstraintHandler::clearAll(), LagrangeConstraintHandler::clearAll(), TransformationConstraintHandler::handle(), PlainHandler::handle(), PenaltyConstraintHandler::handle(), and LagrangeConstraintHandler::handle().

Integrator * ConstraintHandler::getIntegratorPtr ( void ) const [protected]
 

A const member function to return the Integrator object associated with the ConstraintHandler, {theIntegrator}.

Definition at line 78 of file ConstraintHandler.cpp.

Referenced by TransformationConstraintHandler::handle(), PlainHandler::handle(), PenaltyConstraintHandler::handle(), and LagrangeConstraintHandler::handle().

int ConstraintHandler::handle ( const ID * nodesNumberedLast = 0 ) [pure virtual]
 

pure virtual functions.

Reimplemented in LagrangeConstraintHandler, PenaltyConstraintHandler, PlainHandler, and TransformationConstraintHandler.

Referenced by StaticAnalysis::domainChanged(), EigenAnalysis::domainChanged(), DomainDecompositionAnalysis::domainChanged(), and DirectIntegrationAnalysis::domainChanged().

void ConstraintHandler::setLinks ( Domain & theDomain,
AnalysisModel & theModel,
Integrator & theIntegrator )
 

AnalysisModel &theModel,

Definition at line 54 of file ConstraintHandler.cpp.

Referenced by DirectIntegrationAnalysis::DirectIntegrationAnalysis(), DomainDecompositionAnalysis::DomainDecompositionAnalysis(), EigenAnalysis::EigenAnalysis(), StaticAnalysis::StaticAnalysis(), DomainDecompositionAnalysis::recvSelf(), StaticAnalysis::setIntegrator(), and DirectIntegrationAnalysis::setIntegrator().


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