class PlainNumberer : public DOF_Numberer


Inheritance:


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)

Inherited from DOF_Numberer:

Public Methods

virtual void setLinks(AnalysisModel &theModel)

Protected Methods

AnalysisModel* getAnalysisModelPtr(void) const
GraphNumberer* getGraphNumbererPtr(void) const

Inherited from MovableObject:

Public Methods

int getClassTag(void) const
int getDbTag(void) const
void setDbTag(int dbTag)

Documentation

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.

PlainNumberer()

The integer NUMBERER_TAG_PlainNumberer is passed to the DOF_Numberer classes constructor

~PlainNumberer()

Does nothing

int numberDOF(int lastDOF = -1)

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.

int numberDOF(ID &lastDOFs)

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.

virtual int sendSelf(int commitTag, Channel &theChannel)

Returns 0

virtual int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker)

Returns 0.


This class has no child classes.

alphabetic index Contents

this page has been generated automatically by a slightly modified version of doc++ for OpenSees

Copyright Contact Us