ug4
ug::LocalDoFSet Class Referenceabstract

#include <local_dof_set.h>

+ Inheritance diagram for ug::LocalDoFSet:

Public Member Functions

int dim () const
 returns the reference dimension More...
 
virtual const LocalDoFlocal_dof (size_t dof) const =0
 returns the DoFs storage More...
 
size_t num_dof (int d, size_t id) const
 returns the number of DoFs on a sub-geometric object of dim and id More...
 
virtual size_t num_dof (ReferenceObjectID roid) const =0
 returns the number of DoFs on a sub-geometric object type More...
 
bool operator!= (const LocalDoFSet &v) const
 inequality check More...
 
bool operator== (const LocalDoFSet &v) const
 equality check More...
 
virtual ReferenceObjectID roid () const =0
 returns the Reference object id of the corresponding grid object More...
 
virtual ~LocalDoFSet ()
 virtual destructor More...
 
size_t num_dof () const
 
virtual size_t num_sh () const
 

Detailed Description

This class provides the interface for the storage of degrees of freedom on a finite element.

Constructor & Destructor Documentation

◆ ~LocalDoFSet()

virtual ug::LocalDoFSet::~LocalDoFSet ( )
inlinevirtual

virtual destructor

Member Function Documentation

◆ dim()

int ug::LocalDoFSet::dim ( ) const

returns the reference dimension

References ug::ReferenceElementDimension(), and roid().

Referenced by ug::CommonLocalDoFSet::add(), and operator==().

◆ local_dof()

◆ num_dof() [1/3]

size_t ug::LocalDoFSet::num_dof ( ) const
inline

returns the total number of dofs on the finite element

References num_sh().

Referenced by ug::CommonLocalDoFSet::add(), num_dof(), num_sh(), ug::operator<<(), and operator==().

◆ num_dof() [2/3]

size_t ug::LocalDoFSet::num_dof ( int  d,
size_t  id 
) const

returns the number of DoFs on a sub-geometric object of dim and id

References ug::ReferenceElementProvider::get(), num_dof(), ug::ReferenceElement::roid(), and roid().

◆ num_dof() [3/3]

◆ num_sh()

size_t ug::LocalDoFSet::num_sh ( ) const
virtual

returns the total number of dofs on the finite element

Reimplemented in ug::MiniBubbleLSFS< ReferenceHexahedron >, ug::MiniBubbleLSFS< ReferenceTetrahedron >, ug::MiniBubbleLSFS< ReferenceQuadrilateral >, ug::MiniBubbleLSFS< ReferenceTriangle >, ug::MiniBubbleLSFS< ReferenceEdge >, ug::SubLocalDoFSet< TDim >, ug::LocalShapeFunctionSetWrapper< TImpl >, ug::LagrangeP1< TRefElem >, ug::LagrangeLSFS< ReferenceOctahedron, TOrder >, ug::FlexLagrangeLSFS< ReferenceHexahedron >, ug::LagrangeLSFS< ReferenceHexahedron, TOrder >, ug::LagrangeLSFS< ReferencePyramid, TOrder >, ug::FlexLagrangeLSFS< ReferencePrism >, ug::LagrangeLSFS< ReferencePrism, TOrder >, ug::FlexLagrangeLSFS< ReferenceTetrahedron >, ug::LagrangeLSFS< ReferenceTetrahedron, TOrder >, ug::FlexLagrangeLSFS< ReferenceQuadrilateral >, ug::LagrangeLSFS< ReferenceQuadrilateral, TOrder >, ug::FlexLagrangeLSFS< ReferenceTriangle >, ug::LagrangeLSFS< ReferenceTriangle, TOrder >, ug::FlexLagrangeLSFS< ReferenceEdge >, ug::LagrangeLSFS< ReferenceEdge, TOrder >, ug::FlexLagrangeLSFS< ReferenceVertex >, and ug::LagrangeLSFS< ReferenceVertex, TOrder >.

References num_dof(), and ug::NUM_REFERENCE_OBJECTS.

Referenced by ug::ComputeGradientCrouzeixRaviart(), ug::ComputeGradientLagrange1(), ug::DoFPositionElem(), ug::GradientEvaluator_LagrangeP1< TFunction >::evaluate(), ug::MaximumDistIntegrand< TGridFunction >::evaluate(), ug::L2ErrorIntegrand< TGridFunction >::evaluate(), ug::H1ErrorIntegrand< TGridFunction >::evaluate(), ug::L2Integrand< TGridFunction >::evaluate(), ug::H1SemiIntegrand< TGridFunction >::evaluate(), ug::H1EnergyIntegrand< TGridFunction >::evaluate(), ug::H1NormIntegrand< TGridFunction >::evaluate(), ug::StdFuncIntegrand< TGridFunction >::evaluate(), ug::InnerDoFPositionElem(), ug::InterpolateOnDiffElements(), ug::MaxErrorOnElements(), num_dof(), ug::HFV1ManifoldGeometry< TElem, TWorldDim >::update(), ug::DimHFV1Geometry< TDim, TWorldDim >::update(), ug::DimFV1Geometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimFV1IBGeometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimCRFVGeometry< TDim, TWorldDim >::update_boundary_faces(), ug::DimFVGeometry< TWorldDim, TDim >::update_boundary_faces(), ug::DimFEGeometry< TWorldDim, TRefDim >::update_boundary_faces(), ug::DimCRFVGeometry< TDim, TWorldDim >::update_hanging(), ug::DimFV1Geometry< TDim, TWorldDim >::update_local(), ug::DimFEGeometry< TWorldDim, TRefDim >::update_local(), ug::DimFVGeometry< TWorldDim, TDim >::update_local(), ug::DimFV1IBGeometry< TDim, TWorldDim >::update_local_data(), ug::DimCRFVGeometry< TDim, TWorldDim >::update_local_data(), and ug::VTKOutput< TDim >::write_cell_values_elementwise().

◆ operator!=()

bool ug::LocalDoFSet::operator!= ( const LocalDoFSet v) const
inline

inequality check

◆ operator==()

bool ug::LocalDoFSet::operator== ( const LocalDoFSet v) const

equality check

References dim(), local_dof(), num_dof(), ug::NUM_REFERENCE_OBJECTS, and roid().

◆ roid()


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