OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Abstract base class allowing to control the way, how equations are assigned to individual DOFs. More...
#include <unknownnumberingscheme.h>
Public Member Functions | |
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... | |
virtual int | giveDofEquationNumber (Dof *dof) const =0 |
Returns the equation number for corresponding DOF. More... | |
virtual int | giveRequiredNumberOfDomainEquation () const |
Returns required number of domain equation. More... | |
Abstract base class allowing to control the way, how equations are assigned to individual DOFs.
The instances are typically used in EngngModel to assemble characteristic contributions and they allow to control the numbering of unknowns.
Definition at line 47 of file unknownnumberingscheme.h.
|
inline |
Definition at line 50 of file unknownnumberingscheme.h.
|
inlinevirtual |
Definition at line 51 of file unknownnumberingscheme.h.
|
pure 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.
Implemented in oofem::PressureEquationNumbering, oofem::AuxVelocityNumberingScheme, oofem::VelocityEquationNumbering, oofem::DofIDEquationNumbering, oofem::MicroMaterial, oofem::VelocityNumberingScheme, oofem::EModelDefaultPrescribedEquationNumbering, oofem::EModelDefaultEquationNumbering, oofem::QuasicontinuumNumberingscheme, oofem::CustomEquationNumbering, and oofem::PressureNumberingScheme.
Referenced by oofem::LinearConstraintBC::assembleVector(), oofem::ContactElement::ContactElement(), oofem::DofManager::giveCompleteLocationArray(), oofem::Dof::giveEquationNumber(), oofem::Dof::giveEquationNumbers(), oofem::LinearConstraintBC::giveLocArray(), oofem::Node2NodeContact::giveLocationArray(), oofem::Node2NodeContactL::giveLocationArray(), and oofem::DofManager::giveLocationArray().
|
inlinevirtual |
Returns required number of domain equation.
Number is always less or equal to the sum of all DOFs gathered from all nodes.
Reimplemented in oofem::PressureEquationNumbering, oofem::AuxVelocityNumberingScheme, oofem::VelocityEquationNumbering, oofem::MicroMaterial, oofem::VelocityNumberingScheme, oofem::QuasicontinuumNumberingscheme, oofem::CustomEquationNumbering, and oofem::PressureNumberingScheme.
Definition at line 72 of file unknownnumberingscheme.h.
Referenced by oofem::Skyline::buildInternalStructure(), oofem::CBS::giveNumberOfDomainEquations(), and oofem::PFEM::giveNumberOfDomainEquations().
|
inlinevirtual |
Initializes the receiver, if necessary.
Reimplemented in oofem::MicroMaterial.
Definition at line 56 of file unknownnumberingscheme.h.
Referenced by oofem::AuxVelocityNumberingScheme::reset().
|
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 in oofem::PressureEquationNumbering, oofem::VelocityEquationNumbering, oofem::MicroMaterial, oofem::DofIDEquationNumbering, oofem::VelocityNumberingScheme, oofem::EModelDefaultEquationNumbering, oofem::QuasicontinuumNumberingscheme, oofem::CustomEquationNumbering, and oofem::PressureNumberingScheme.
Definition at line 62 of file unknownnumberingscheme.h.
Referenced by oofem::Skyline::buildInternalStructure(), and oofem::EngngModel::giveNumberOfDomainEquations().