OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Numbering scheme for auxiliary velocity in PFEM problems. More...
#include <pfemnumberingschemes.h>
Public Member Functions | |
AuxVelocityNumberingScheme () | |
Constructor. More... | |
virtual | ~AuxVelocityNumberingScheme () |
Destructor. More... | |
virtual void | reset () |
Resets the numbering in order to start numbering again from 1. More... | |
virtual void | init (Domain *domain) |
Initializes the numbering scheme. 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... | |
Public Member Functions inherited from oofem::UnknownNumberingScheme | |
UnknownNumberingScheme (void) | |
virtual | ~UnknownNumberingScheme () |
virtual void | init () |
Initializes the receiver, if necessary. More... | |
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... | |
Protected Attributes | |
Domain * | domain |
IntArray | nodalAuxVelocityEquationNumbers |
Nodal equation numbers are stored in an IntArray. More... | |
int | neq |
Number of equations. More... | |
Numbering scheme for auxiliary velocity in PFEM problems.
Nodes are not subjected to any boundary conditions considering auxiliary velocities, so every single node has full set of equations.
Definition at line 125 of file pfemnumberingschemes.h.
oofem::AuxVelocityNumberingScheme::AuxVelocityNumberingScheme | ( | ) |
Constructor.
Definition at line 158 of file pfemnumberingschemes.C.
|
virtual |
Destructor.
Definition at line 163 of file pfemnumberingschemes.C.
|
virtual |
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 173 of file pfemnumberingschemes.C.
References oofem::Dof::giveDofID(), oofem::Dof::giveDofManager(), oofem::FEMComponent::giveDomain(), oofem::DofManager::giveGlobalNumber(), and oofem::Domain::giveNumberOfSpatialDimensions().
|
virtual |
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 193 of file pfemnumberingschemes.C.
References neq.
|
virtual |
Initializes the numbering scheme.
Definition at line 167 of file pfemnumberingschemes.C.
References oofem::Domain::giveNumberOfDofManagers(), oofem::Domain::giveNumberOfSpatialDimensions(), and neq.
|
inlinevirtual |
Resets the numbering in order to start numbering again from 1.
Definition at line 141 of file pfemnumberingschemes.h.
References oofem::PressureNumberingScheme::giveDofEquationNumber(), oofem::PressureNumberingScheme::giveRequiredNumberOfDomainEquation(), and oofem::UnknownNumberingScheme::init().
|
protected |
Definition at line 128 of file pfemnumberingschemes.h.
|
protected |
Number of equations.
Definition at line 132 of file pfemnumberingschemes.h.
Referenced by giveRequiredNumberOfDomainEquation(), and init().
|
protected |
Nodal equation numbers are stored in an IntArray.
Definition at line 130 of file pfemnumberingschemes.h.