ug4
|
#include <local_dof_set.h>
Public Member Functions | |
int | dim () const |
returns the reference dimension More... | |
virtual const LocalDoF & | local_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 |
This class provides the interface for the storage of degrees of freedom on a finite element.
|
inlinevirtual |
virtual destructor
int ug::LocalDoFSet::dim | ( | ) | const |
returns the reference dimension
References ug::ReferenceElementDimension(), and roid().
Referenced by ug::CommonLocalDoFSet::add(), and operator==().
|
pure virtual |
returns the DoFs storage
Implemented in ug::MiniBubbleLDS< TRefElem >, ug::MiniBubbleLDS< ReferenceEdge >, ug::MiniBubbleLDS< ReferenceHexahedron >, ug::MiniBubbleLDS< ReferenceTriangle >, ug::MiniBubbleLDS< ReferenceTetrahedron >, ug::MiniBubbleLDS< ReferenceQuadrilateral >, ug::SubLocalDoFSet< TDim >, ug::LocalShapeFunctionSetWrapper< TImpl >, ug::LagrangeLDS< TRefElem >, ug::LagrangeLDS< ReferenceEdge >, ug::LagrangeLDS< ReferenceVertex >, ug::LagrangeLDS< ReferencePrism >, ug::LagrangeLDS< ReferenceOctahedron >, ug::LagrangeLDS< ReferencePyramid >, ug::LagrangeLDS< ReferenceHexahedron >, ug::LagrangeLDS< ReferenceTriangle >, ug::LagrangeLDS< ReferenceTetrahedron >, and ug::LagrangeLDS< ReferenceQuadrilateral >.
Referenced by ug::InnerDoFPositionElem(), ug::operator<<(), and operator==().
|
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==().
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().
|
pure virtual |
returns the number of DoFs on a sub-geometric object type
Implemented in ug::MiniBubbleLDS< TRefElem >, ug::MiniBubbleLDS< ReferenceEdge >, ug::MiniBubbleLDS< ReferenceHexahedron >, ug::MiniBubbleLDS< ReferenceTriangle >, ug::MiniBubbleLDS< ReferenceTetrahedron >, ug::MiniBubbleLDS< ReferenceQuadrilateral >, ug::SubLocalDoFSet< TDim >, ug::LocalShapeFunctionSetWrapper< TImpl >, ug::LagrangeLDS< TRefElem >, ug::LagrangeLDS< ReferenceEdge >, ug::LagrangeLDS< ReferenceVertex >, ug::LagrangeLDS< ReferencePrism >, ug::LagrangeLDS< ReferenceOctahedron >, ug::LagrangeLDS< ReferencePyramid >, ug::LagrangeLDS< ReferenceHexahedron >, ug::LagrangeLDS< ReferenceTriangle >, ug::LagrangeLDS< ReferenceTetrahedron >, and ug::LagrangeLDS< ReferenceQuadrilateral >.
|
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().
|
inline |
inequality check
bool ug::LocalDoFSet::operator== | ( | const LocalDoFSet & | v | ) | const |
equality check
References dim(), local_dof(), num_dof(), ug::NUM_REFERENCE_OBJECTS, and roid().
|
pure virtual |
returns the Reference object id of the corresponding grid object
Implemented in ug::MiniBubbleLDS< TRefElem >, ug::MiniBubbleLDS< ReferenceEdge >, ug::MiniBubbleLDS< ReferenceHexahedron >, ug::MiniBubbleLDS< ReferenceTriangle >, ug::MiniBubbleLDS< ReferenceTetrahedron >, ug::MiniBubbleLDS< ReferenceQuadrilateral >, ug::SubLocalDoFSet< TDim >, ug::LocalShapeFunctionSetWrapper< TImpl >, ug::LagrangeLDS< TRefElem >, ug::LagrangeLDS< ReferenceEdge >, ug::LagrangeLDS< ReferenceVertex >, ug::LagrangeLDS< ReferencePrism >, ug::LagrangeLDS< ReferenceOctahedron >, ug::LagrangeLDS< ReferencePyramid >, ug::LagrangeLDS< ReferenceHexahedron >, ug::LagrangeLDS< ReferenceTriangle >, ug::LagrangeLDS< ReferenceTetrahedron >, and ug::LagrangeLDS< ReferenceQuadrilateral >.
Referenced by ug::CommonLocalDoFSet::add(), dim(), num_dof(), and operator==().