OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Specialized numbering scheme for CBS algorithm, since it needs pressures separately. More...
#include <cbs.h>
Public Member Functions | |
PressureEquationNumbering (bool prescribed) | |
virtual bool | isDefault () const |
Returns true, if receiver is the default engngModel equation numbering scheme; This is useful for some components (typically elements), that cache their code numbers for default numbering to avoid repeated evaluation. More... | |
virtual int | giveDofEquationNumber (Dof *dof) const |
Returns the equation number for corresponding DOF. More... | |
virtual int | giveRequiredNumberOfDomainEquation () const |
Returns required number of domain equation. More... | |
int | askNewEquationNumber () |
Public Member Functions inherited from oofem::UnknownNumberingScheme | |
UnknownNumberingScheme (void) | |
virtual | ~UnknownNumberingScheme () |
virtual void | init () |
Initializes the receiver, if necessary. More... | |
Protected Attributes | |
bool | prescribed |
int | numEqs |
Specialized numbering scheme for CBS algorithm, since it needs pressures separately.
|
inline |
|
inline |
Definition at line 165 of file cbs.h.
Referenced by oofem::CBS::giveNewEquationNumber(), and oofem::CBS::giveNewPrescribedEquationNumber().
|
inlinevirtual |
Returns the equation number for corresponding DOF.
The numbering should return nonzero value if the equation is assigned to the given DOF, zero otherwise.
Implements oofem::UnknownNumberingScheme.
Definition at line 155 of file cbs.h.
References oofem::Dof::__giveEquationNumber(), oofem::Dof::__givePrescribedEquationNumber(), and oofem::Dof::giveDofID().
|
inlinevirtual |
Returns required number of domain equation.
Number is always less or equal to the sum of all DOFs gathered from all nodes.
Reimplemented from oofem::UnknownNumberingScheme.
|
inlinevirtual |
Returns true, if receiver is the default engngModel equation numbering scheme; This is useful for some components (typically elements), that cache their code numbers for default numbering to avoid repeated evaluation.
Reimplemented from oofem::UnknownNumberingScheme.