OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::AuxVelocityNumberingScheme Class Reference

Numbering scheme for auxiliary velocity in PFEM problems. More...

#include <pfemnumberingschemes.h>

+ Inheritance diagram for oofem::AuxVelocityNumberingScheme:
+ Collaboration diagram for oofem::AuxVelocityNumberingScheme:

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

Domaindomain
 
IntArray nodalAuxVelocityEquationNumbers
 Nodal equation numbers are stored in an IntArray. More...
 
int neq
 Number of equations. More...
 

Detailed Description

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.

Author
David Krybus

Definition at line 125 of file pfemnumberingschemes.h.

Constructor & Destructor Documentation

oofem::AuxVelocityNumberingScheme::AuxVelocityNumberingScheme ( )

Constructor.

Definition at line 158 of file pfemnumberingschemes.C.

oofem::AuxVelocityNumberingScheme::~AuxVelocityNumberingScheme ( )
virtual

Destructor.

Definition at line 163 of file pfemnumberingschemes.C.

Member Function Documentation

int oofem::AuxVelocityNumberingScheme::giveDofEquationNumber ( Dof dof) const
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().

int oofem::AuxVelocityNumberingScheme::giveRequiredNumberOfDomainEquation ( ) const
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.

void oofem::AuxVelocityNumberingScheme::init ( Domain domain)
virtual

Initializes the numbering scheme.

Definition at line 167 of file pfemnumberingschemes.C.

References oofem::Domain::giveNumberOfDofManagers(), oofem::Domain::giveNumberOfSpatialDimensions(), and neq.

virtual void oofem::AuxVelocityNumberingScheme::reset ( )
inlinevirtual

Member Data Documentation

Domain* oofem::AuxVelocityNumberingScheme::domain
protected

Definition at line 128 of file pfemnumberingschemes.h.

int oofem::AuxVelocityNumberingScheme::neq
protected

Number of equations.

Definition at line 132 of file pfemnumberingschemes.h.

Referenced by giveRequiredNumberOfDomainEquation(), and init().

IntArray oofem::AuxVelocityNumberingScheme::nodalAuxVelocityEquationNumbers
protected

Nodal equation numbers are stored in an IntArray.

Definition at line 130 of file pfemnumberingschemes.h.


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:33 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011