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

PlainHandler Class Reference

#include <PlainHandler.h>

Inheritance diagram for PlainHandler::

ConstraintHandler MovableObject List of all members.

Public Methods

 PlainHandler ()
 ~PlainHandler ()
int handle (const ID *nodesNumberedLast=0)
void clearAll (void)
int sendSelf (int commitTag, Channel &theChannel)
int recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Detailed Description

The PlainHandler class is a class which only deals with homogeneous single point constraints. To do this it creates regular FE\_Element and DOF\_Group objects and enforces the constraints by specifying that degrees-of-freedom which are constrained are not assigned an equation number. Pointers to the DOF\_Group and FE\_Element objects are kept in two arrays. \

}

Definition at line 58 of file PlainHandler.h.


Constructor & Destructor Documentation

PlainHandler::PlainHandler ( )
 

The integer {HANDLER\_TAG\_PlainHandler} (defined in classTags.h\form#24) is passed to the PlainHandler constructor.

Definition at line 57 of file PlainHandler.cpp.

PlainHandler::~PlainHandler ( )
 

Invokes the destructor on all the FE\_Element and DOF\_Group objects created in {handle}. Then invokes the destructor on the two pointer arrays.

Definition at line 64 of file PlainHandler.cpp.


Member Function Documentation

void PlainHandler::clearAll ( void ) [virtual]
 

Currently this invokes delete on all the FE\_element and DOF\_Group objects created in {handle()} and the arrays used to store pointers to these objects. FOR ANALYSIS INVOLVING DYNAMIC LOAD BALANCING, RE-MESHING AND CONTACT THIS MUST CHANGE.

Reimplemented from ConstraintHandler.

Definition at line 282 of file PlainHandler.cpp.

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

Determines the number of FE\_Elements and DOF\_Groups needed from the Domain (a one to one mapping between Elements and FE\_Elements and Nodes and DOF\_Groups) Creates two arrays of pointers to store the FE\_elements and DOF\_Groups, returning a warning message and a or if not enough memory is available for these arrays. Then the object will iterate through the Nodes of the Domain, creating a DOF\_Group for each node and setting the initial id for each dof to if no SP\_Constraint exists for the dof, or if a SP\_Constraint exists or if the node identifier is in {nodesToBeNumberedLast}. The object then iterates through the Elements of the Domain creating a FE\_Element for each Element, if the Element is a Subdomain {setFE\_ElementPtr()} is invoked on the Subdomain with the new FE\_Element as the argument. If not enough memory is available for any DOF\_Group or FE\_element a warning message is printed and a or is returned. If any MP\_Constraint objects exist in the Domain a warning message is printed and is returned. If all is successful, the method returns the number of degrees-of-freedom associated with the DOF\_Groups in {nodesToBeNumberedLast}.

Reimplemented from ConstraintHandler.

Definition at line 82 of file PlainHandler.cpp.

int PlainHandler::recvSelf ( int commitTag,
Channel & theChannel,
FEM_ObjectBroker & theBroker ) [virtual]
 

Returns .

Reimplemented from MovableObject.

Definition at line 323 of file PlainHandler.cpp.

int PlainHandler::sendSelf ( int commitTag,
Channel & theChannel ) [virtual]
 

Returns .

Reimplemented from MovableObject.

Definition at line 316 of file PlainHandler.cpp.


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