OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Specialized numbering scheme for assembling only specified DofIDs. More...
#include <unknownnumberingscheme.h>
Public Member Functions | |
DofIDEquationNumbering (bool prescribed, IntArray dofids) | |
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... | |
Public Member Functions inherited from oofem::UnknownNumberingScheme | |
UnknownNumberingScheme (void) | |
virtual | ~UnknownNumberingScheme () |
virtual void | init () |
Initializes the receiver, if necessary. More... | |
virtual int | giveRequiredNumberOfDomainEquation () const |
Returns required number of domain equation. More... | |
Protected Attributes | |
IntArray | dofids |
bool | prescribed |
Specialized numbering scheme for assembling only specified DofIDs.
This can be useful for computing the reaction forces for a subset of dofids.
Definition at line 112 of file unknownnumberingscheme.h.
|
inline |
Definition at line 119 of file unknownnumberingscheme.h.
|
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 123 of file unknownnumberingscheme.h.
References oofem::Dof::__giveEquationNumber(), oofem::Dof::__givePrescribedEquationNumber(), oofem::IntArray::contains(), and oofem::Dof::giveDofID().
|
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.
Definition at line 122 of file unknownnumberingscheme.h.
|
protected |
Definition at line 115 of file unknownnumberingscheme.h.
|
protected |
Definition at line 116 of file unknownnumberingscheme.h.