version 3.11-dev
Loading...
Searching...
No Matches
Dumux::Experimental::FEDofHelper< GridView > Class Template Reference

Default Dof helper for finite-element discretizations providing dof-related utility functions. Assuming that all dofs map directly to grid entities (vertices, edges, faces, elements). More...

#include <dumux/discretization/fem/fedofhelper.hh>

Inheritance diagram for Dumux::Experimental::FEDofHelper< GridView >:

Description

template<class GridView>
class Dumux::Experimental::FEDofHelper< GridView >
Template Parameters
GridViewthe grid view type

Static Public Member Functions

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 )
inlinestatic

◆ dofPosition()

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

◆ localDofOnIntersection()

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

◆ localDofPosition()

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

◆ localDofs()

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

◆ localDofsOnBoundaryFace()

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

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