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

DOF_Numberer Class Reference

#include <DOF_Numberer.h>

Inheritance diagram for DOF_Numberer::

MovableObject PlainNumberer List of all members.

Public Methods

 DOF_Numberer (int classTag)
 DOF_Numberer (GraphNumberer &theGraphNumberer)
 DOF_Numberer ()
virtual ~DOF_Numberer ()
virtual void setLinks (AnalysisModel &theModel)
virtual int numberDOF (int lastDOF_Group=-1)
 pure virtual functions. More...

virtual int numberDOF (ID &lastDOF_Groups)
virtual int sendSelf (int commitTag, Channel &theChannel)
virtual int recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Protected Methods

AnalysisModelgetAnalysisModelPtr (void) const
GraphNumberergetGraphNumbererPtr (void) const

Detailed Description

The DOF\_Numberer class is a base class. Its purpose is to define the interface common among all subclasses. A DOF\_Numberer object is responsible for assigning the equation numbers to the individual dofs in each of the DOF\_Groups in the AnalysisModel. The base DOF\_Numberer uses a GraphNumberer object to first number the DOF\_Groups, based on the ordering of the DOF\_Group objects, it assigns the equation numbers to the individual degrees-of-freedom. Subtypes may wish to implement the numbering in a more efficient manner by using the FE\_Element and DOF\_Group objects directly. \

Definition at line 64 of file DOF_Numberer.h.


Constructor & Destructor Documentation

DOF_Numberer::DOF_Numberer ( int classTag )
 

Definition at line 61 of file DOF_Numberer.cpp.

DOF_Numberer::DOF_Numberer ( GraphNumberer & theGraphNumberer )
 

Definition at line 68 of file DOF_Numberer.cpp.

DOF_Numberer::DOF_Numberer ( )
 

Definition at line 75 of file DOF_Numberer.cpp.

DOF_Numberer::~DOF_Numberer ( ) [virtual]
 

Definition at line 84 of file DOF_Numberer.cpp.


Member Function Documentation

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

Definition at line 405 of file DOF_Numberer.cpp.

Referenced by PlainNumberer::numberDOF().

GraphNumberer * DOF_Numberer::getGraphNumbererPtr ( void ) const [protected]
 

Definition at line 412 of file DOF_Numberer.cpp.

int DOF_Numberer::numberDOF ( ID & lastDOFs ) [virtual]
 

Reimplemented in PlainNumberer.

Definition at line 233 of file DOF_Numberer.cpp.

int DOF_Numberer::numberDOF ( int lastDOF = -1 ) [virtual]
 

pure virtual functions.

Reimplemented in PlainNumberer.

Definition at line 102 of file DOF_Numberer.cpp.

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

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

This is a pure virtual method, one must be written for each instantiable subclass of MovableObject. Each object has to receive the data needed to be able to recreate itself in the new process after it has been sent through {theChannel}. If the object is an aggregation containing other objects, new objects of the correct type can be constructed using {theBroker}. To return if successful or a if not.

Reimplemented from MovableObject.

Reimplemented in PlainNumberer.

Definition at line 380 of file DOF_Numberer.cpp.

Referenced by DomainDecompositionAnalysis::recvSelf().

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

This is a pure virtual method, one must be written for each instantiable subclass of MovableObject. Each object has to send the data needed to be able to reproduce that object in a remote process. The object uses the methods provided by {theChannel} object to send the data to another channel at the remote actor, the address of the channel is set before this method is called. An object of similar type at the remote actor is invoked with a {receiveSelf()} to receive the data. Returns if successful (successful in that the data got to the channel), or a if no data was sent.

Reimplemented from MovableObject.

Reimplemented in PlainNumberer.

Definition at line 362 of file DOF_Numberer.cpp.

Referenced by DomainDecompositionAnalysis::sendSelf().

void DOF_Numberer::setLinks ( AnalysisModel & theModel ) [virtual]
 

Definition at line 94 of file DOF_Numberer.cpp.

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


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