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

PlainNumberer Class Reference

#include <PlainNumberer.h>

Inheritance diagram for PlainNumberer::

DOF_Numberer MovableObject List of all members.

Public Methods

 PlainNumberer ()
 ~PlainNumberer ()
int numberDOF (int lastDOF=-1)
int numberDOF (ID &lastDOFs)
virtual int sendSelf (int commitTag, Channel &theChannel)
virtual int recvSelf (int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Detailed Description

The PlainNumberer class is a DOF\_Numberer. An object of this class assigns the equation numbers to thee DOF\_Groups based on the order in which they are obtained from the DOF\_GroupIter object obtained from the AnalyisModel. The class is useful for situations where the SystemOfEqn or Solver objects will impose a renumbering on the equations, which makes performing a complex numbering of the degrees-of-freedom a waste of computational effort. \

}

Definition at line 60 of file PlainNumberer.h.


Constructor & Destructor Documentation

PlainNumberer::PlainNumberer ( )
 

The integer {NUMBERER\_TAG\_PlainNumberer} is passed to the DOF\_Numberer classes constructor.

Definition at line 56 of file PlainNumberer.cpp.

PlainNumberer::~PlainNumberer ( )
 

Does nothing.

Definition at line 61 of file PlainNumberer.cpp.


Member Function Documentation

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

The method is identical to that outlined above. A PlainNumberer will not use the {lastDOF\_Groups} ID, if this method is invoked a warning message is printed.

Reimplemented from DOF_Numberer.

Definition at line 180 of file PlainNumberer.cpp.

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

The PlainNumberer will twice obtain the DOF\_GroupIter from the AnalysisModel. It iterates twice through the DOF\_Groups first assigning the dofs with eqn numbers assigned -2 a number and then on the next pass the dofs assigned -3. The PlainNumberer then invokes {setID()} on each FE\_Element in the AnalysisModel. Finally it invokes {setEqnNum(numEqn)} on the AnalyisModel. Returns a positive integer equal to the last equation number set if successful, a negative number if not; the value of which depends on the type of the PlainNumberer. A PlainNumberer will not use the {lastDOF\_Group} integer, if one is supplied a warning message is printed.

Reimplemented from DOF_Numberer.

Definition at line 72 of file PlainNumberer.cpp.

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

Returns .

Reimplemented from DOF_Numberer.

Definition at line 171 of file PlainNumberer.cpp.

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

Returns .

Reimplemented from DOF_Numberer.

Definition at line 165 of file PlainNumberer.cpp.


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