version 3.11-dev
Loading...
Searching...
No Matches
Dumux::PQ1BubbleDofHelper< GridView, numCubeBubbleDofs > Class Template Reference

Dof helper for the PQ1Bubble method, providing the number of dofs and their positions. More...

#include <dumux/discretization/pq1bubble/dofhelper.hh>

Inheritance diagram for Dumux::PQ1BubbleDofHelper< GridView, numCubeBubbleDofs >:

Description

template<class GridView, std::size_t numCubeBubbleDofs>
class Dumux::PQ1BubbleDofHelper< GridView, numCubeBubbleDofs >
Template Parameters
GridViewthe grid view type
numCubeBubbleDofsnumber of bubble dofs for cube elements

Static Public Member Functions

static std::size_t numElementDofs (Dune::GeometryType type)
 number of element dofs
static auto numLocalDofsIntersection (Dune::GeometryType type, unsigned int iIdx)
 Number of local dofs related to an intersection with index iIdx.
static auto localDofIndexIntersection (Dune::GeometryType type, unsigned int iIdx, unsigned int ilocalDofIdx)
 Local dof index related to a localDof, with index ilocalDofIdx, on an intersection with index iIdx.
template<class ElemDisc, class BoundaryFace>
static auto localDofsOnBoundaryFace (const ElemDisc &elemDisc, const BoundaryFace &boundaryFace)
 Iterator range over all local dofs on a given boundary face. Overrides the less efficient default implementation.
template<class LocalKey>
static auto localDofOnIntersection (Dune::GeometryType type, unsigned int iIdx, const LocalKey &localKey)
 Returns true if the local dof with a given local key is on the intersection with index iIdx.
template<class ElemDisc>
static auto localDofs (const ElemDisc &elemDisc)
 Iterator range over all local dofs on an element.
template<class ElemDisc, class BoundaryFace>
static auto localDofsOnBoundaryFace (const ElemDisc &elemDisc, const BoundaryFace &boundaryFace)
 Iterator range over all local dofs on a given boundary face. Uses a filter over all local dofs via localDofOnIntersection.
template<class DofMapper, class LocalKey>
static auto dofIndex (const DofMapper &dofMapper, const Element &element, const LocalKey &localKey)
 global index of dof
template<class Geometry, class LocalKey>
static GlobalPosition dofPosition (const Geometry &geo, const LocalKey &localKey)
 global dof position
template<class LocalKey>
static Element::Geometry::LocalCoordinate localDofPosition (Dune::GeometryType type, const LocalKey &localKey)
 local dof position

Member Function Documentation

◆ dofIndex()

template<class GridView>
template<class DofMapper, class LocalKey>
auto Dumux::Experimental::FEDofHelper< GridView >::dofIndex ( const DofMapper & dofMapper,
const Element & element,
const LocalKey & localKey )
inlinestaticinherited

◆ dofPosition()

template<class GridView>
template<class Geometry, class LocalKey>
GlobalPosition Dumux::Experimental::FEDofHelper< GridView >::dofPosition ( const Geometry & geo,
const LocalKey & localKey )
inlinestaticinherited

◆ localDofIndexIntersection()

template<class GridView, std::size_t numCubeBubbleDofs>
auto Dumux::PQ1BubbleDofHelper< GridView, numCubeBubbleDofs >::localDofIndexIntersection ( Dune::GeometryType type,
unsigned int iIdx,
unsigned int ilocalDofIdx )
inlinestatic

◆ localDofOnIntersection()

template<class GridView>
template<class LocalKey>
auto Dumux::Experimental::FEDofHelper< GridView >::localDofOnIntersection ( Dune::GeometryType type,
unsigned int iIdx,
const LocalKey & localKey )
inlinestaticinherited

◆ localDofPosition()

template<class GridView>
template<class LocalKey>
Element::Geometry::LocalCoordinate Dumux::Experimental::FEDofHelper< GridView >::localDofPosition ( Dune::GeometryType type,
const LocalKey & localKey )
inlinestaticinherited

◆ localDofs()

template<class GridView>
template<class ElemDisc>
auto Dumux::Experimental::FEDofHelper< GridView >::localDofs ( const ElemDisc & elemDisc)
inlinestaticinherited
Parameters
elemDiscthe element discretization (must be bound)

◆ localDofsOnBoundaryFace() [1/2]

template<class GridView>
template<class ElemDisc, class BoundaryFace>
auto Dumux::Experimental::FEDofHelper< GridView >::localDofsOnBoundaryFace ( const ElemDisc & elemDisc,
const BoundaryFace & boundaryFace )
inlinestaticinherited
Parameters
elemDiscthe element discretization (must be bound)
boundaryFacethe boundary face

◆ localDofsOnBoundaryFace() [2/2]

template<class GridView, std::size_t numCubeBubbleDofs>
template<class ElemDisc, class BoundaryFace>
auto Dumux::PQ1BubbleDofHelper< GridView, numCubeBubbleDofs >::localDofsOnBoundaryFace ( const ElemDisc & elemDisc,
const BoundaryFace & boundaryFace )
inlinestatic

◆ numElementDofs()

template<class GridView, std::size_t numCubeBubbleDofs>
std::size_t Dumux::PQ1BubbleDofHelper< GridView, numCubeBubbleDofs >::numElementDofs ( Dune::GeometryType type)
inlinestatic

◆ numLocalDofsIntersection()

template<class GridView, std::size_t numCubeBubbleDofs>
auto Dumux::PQ1BubbleDofHelper< GridView, numCubeBubbleDofs >::numLocalDofsIntersection ( Dune::GeometryType type,
unsigned int iIdx )
inlinestatic

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