|
OOFEM 3.0
|
#include <cbs.h>
Public Member Functions | |
| VelocityEquationNumbering (bool prescribed) | |
| bool | isDefault () const override |
| int | giveDofEquationNumber (Dof *dof) const override |
| int | giveRequiredNumberOfDomainEquation () const override |
| int | askNewEquationNumber () |
| Public Member Functions inherited from oofem::UnknownNumberingScheme | |
| UnknownNumberingScheme (void) | |
| virtual | ~UnknownNumberingScheme () |
| virtual void | init () |
Protected Attributes | |
| bool | prescribed |
| int | numEqs |
Specialized numbering scheme for CBS algorithm, since it needs velocities separately.
|
inline |
Definition at line 126 of file cbs.h.
References numEqs, prescribed, and oofem::UnknownNumberingScheme::UnknownNumberingScheme().
|
inline |
|
inlineoverridevirtual |
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 129 of file cbs.h.
References oofem::Dof::__giveEquationNumber(), oofem::Dof::__givePrescribedEquationNumber(), oofem::Dof::giveDofID(), and prescribed.
|
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 137 of file cbs.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 128 of file cbs.h.
References prescribed.
|
protected |
Definition at line 123 of file cbs.h.
Referenced by askNewEquationNumber(), giveRequiredNumberOfDomainEquation(), and VelocityEquationNumbering().
|
protected |
Definition at line 122 of file cbs.h.
Referenced by giveDofEquationNumber(), isDefault(), and VelocityEquationNumbering().