OOFEM 3.0
Loading...
Searching...
No Matches
oofem::DofIDEquationNumbering Class Reference

#include <unknownnumberingscheme.h>

Inheritance diagram for oofem::DofIDEquationNumbering:
Collaboration diagram for oofem::DofIDEquationNumbering:

Public Member Functions

 DofIDEquationNumbering (bool prescribed, IntArray dofids)
bool isDefault () const override
int giveDofEquationNumber (Dof *dof) const override
Public Member Functions inherited from oofem::UnknownNumberingScheme
 UnknownNumberingScheme (void)
virtual ~UnknownNumberingScheme ()
virtual void init ()
virtual int giveRequiredNumberOfDomainEquation () const

Protected Attributes

IntArray dofids
bool prescribed

Detailed Description

Specialized numbering scheme for assembling only specified DofIDs. This can be useful for computing the reaction forces for a subset of dofids.

Definition at line 112 of file unknownnumberingscheme.h.

Constructor & Destructor Documentation

◆ DofIDEquationNumbering()

oofem::DofIDEquationNumbering::DofIDEquationNumbering ( bool prescribed,
IntArray dofids )
inline

Member Function Documentation

◆ giveDofEquationNumber()

int oofem::DofIDEquationNumbering::giveDofEquationNumber ( Dof * dof) const
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 123 of file unknownnumberingscheme.h.

References oofem::Dof::__giveEquationNumber(), oofem::Dof::__givePrescribedEquationNumber(), dofids, oofem::Dof::giveDofID(), and prescribed.

◆ isDefault()

bool oofem::DofIDEquationNumbering::isDefault ( ) const
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 122 of file unknownnumberingscheme.h.

References prescribed.

Member Data Documentation

◆ dofids

IntArray oofem::DofIDEquationNumbering::dofids
protected

Definition at line 115 of file unknownnumberingscheme.h.

Referenced by DofIDEquationNumbering(), and giveDofEquationNumber().

◆ prescribed

bool oofem::DofIDEquationNumbering::prescribed
protected

The documentation for this class was generated from the following file:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011