|
OOFEM 3.0
|
#include <pfemnumberingschemes.h>
Public Member Functions | |
| VelocityNumberingScheme (bool prescribed) | |
| Constructor. | |
| virtual | ~VelocityNumberingScheme () |
| Destructor. | |
| void | reset () |
| Resets the numbering in order to start numbering again from 1. | |
| virtual bool | isDefault () const override |
| virtual int | giveDofEquationNumber (Dof *dof) const override |
| virtual int | giveRequiredNumberOfDomainEquation () const override |
| int | askNewEquationNumber () |
| Asks new equation number. | |
| Dof * | giveDofToEquationNumber (Domain *d, int equationNumber) |
| Returns Dof with passed equation number. | |
| Public Member Functions inherited from oofem::UnknownNumberingScheme | |
| UnknownNumberingScheme (void) | |
| virtual | ~UnknownNumberingScheme () |
| virtual void | init () |
Protected Attributes | |
| int | numEqs |
| Last given equation number. | |
| bool | prescribed |
| prescribed equations or not | |
Velocity numbering scheme for PFEM purposes
Definition at line 92 of file pfemnumberingschemes.h.
| oofem::VelocityNumberingScheme::VelocityNumberingScheme | ( | bool | prescribed | ) |
Constructor.
Definition at line 112 of file pfemnumberingschemes.C.
References numEqs, prescribed, and oofem::UnknownNumberingScheme::UnknownNumberingScheme().
|
virtual |
Destructor.
Definition at line 118 of file pfemnumberingschemes.C.
|
inline |
|
overridevirtual |
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 122 of file pfemnumberingschemes.C.
References oofem::Dof::__giveEquationNumber(), oofem::Dof::__givePrescribedEquationNumber(), oofem::Dof::giveDofID(), and prescribed.
Returns Dof with passed equation number.
Definition at line 133 of file pfemnumberingschemes.C.
References oofem::Domain::giveDofManager(), and oofem::Domain::giveNumberOfDofManagers().
|
inlineoverridevirtual |
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.
Definition at line 110 of file pfemnumberingschemes.h.
References numEqs.
|
inlineoverridevirtual |
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 108 of file pfemnumberingschemes.h.
References prescribed.
|
inline |
Resets the numbering in order to start numbering again from 1.
Definition at line 107 of file pfemnumberingschemes.h.
References numEqs.
|
protected |
Last given equation number.
Definition at line 96 of file pfemnumberingschemes.h.
Referenced by askNewEquationNumber(), giveRequiredNumberOfDomainEquation(), reset(), and VelocityNumberingScheme().
|
protected |
prescribed equations or not
Definition at line 98 of file pfemnumberingschemes.h.
Referenced by giveDofEquationNumber(), isDefault(), and VelocityNumberingScheme().