42 , isInitialized(false)
57 for ( inode = 1; inode <= nnode; inode++ ) {
59 for (
Dof *jDof: *idofman ) {
60 if ( jDof->giveDofID() == P_f ) {
61 if ( jDof->hasBc(tStep) ) {
115 , prescribed(prescribed)
125 if (
id == V_u ||
id == V_v ||
id == V_w ) {
136 Dof *foundDof = NULL;
139 for (
Dof *dof : *dman ) {
141 if (
id == V_u ||
id == V_v ||
id == V_w ) {
142 if ( dof->__giveEquationNumber() == equationNumber ) {
181 }
else if ( type == V_v ) {
183 }
else if ( type == V_w ) {
virtual ~PressureNumberingScheme()
Destructor.
int giveGlobalNumber() const
int giveNumberOfDofManagers() const
Returns number of dof managers in domain.
int pres_neq
Last given number of prescribed equation.
bool isInitialized
Flag controlling wether the numbering has been initialized or not.
virtual ~AuxVelocityNumberingScheme()
Destructor.
virtual int giveRequiredNumberOfDomainEquation() const
Returns required number of domain equation.
Base class for dof managers.
virtual int __giveEquationNumber() const =0
Returns equation number of receiver, usually assigned by emodel.
int giveNumberOfSpatialDimensions()
Returns number of spatial dimensions.
PressureNumberingScheme()
Constructor.
int & at(int i)
Coefficient access function.
virtual int __givePrescribedEquationNumber()=0
Returns prescribed equation number of receiver.
bool prescribed
prescribed equations or not
int neq
Number of equations.
virtual int giveTotalNumberOfEquations() const
Returns total number of equations.
virtual void reset()
Resets the numbering in order to start numbering again from 1.
DofIDItem
Type representing particular dof type.
Abstract base class allowing to control the way, how equations are assigned to individual DOFs...
DofIDItem giveDofID() const
Returns DofID value of receiver, which determines type of of unknown connected to receiver (e...
void resize(int n)
Checks size of receiver towards requested bounds.
virtual int giveRequiredNumberOfDomainEquation() const
Returns required number of domain equation.
virtual int giveDofEquationNumber(Dof *dof) const
Returns the equation number for corresponding DOF.
int giveDofManNumber() const
Dof * giveDofToEquationNumber(Domain *d, int equationNumber)
Returns Dof with passed equation number.
virtual ~VelocityNumberingScheme()
Destructor.
virtual int giveDofEquationNumber(Dof *dof) const
Returns the equation number for corresponding DOF.
virtual void init()
Initializes the receiver, if necessary.
virtual int giveTotalNumberOfPrescribedEquations() const
Returns total number of prescribed equations.
AuxVelocityNumberingScheme()
Constructor.
int neq
Last given number of equation.
IntArray nodalPressureEquationNumbers
Container storing particular equation numbers for each node.
virtual int giveDofEquationNumber(Dof *dof) const
Returns the equation number for corresponding DOF.
Domain * giveDomain() const
DofManager * giveDofManager() const
the oofem namespace is to define a context or scope in which all oofem names are defined.
Abstract class Dof represents Degree Of Freedom in finite element mesh.
DofManager * giveDofManager(int n)
Service for accessing particular domain dof manager.
Class representing solution step.
VelocityNumberingScheme(bool prescribed)
Constructor.