DOF index and position helper for order-2 Lagrange discretizations.
More...
#include <dumux/discretization/pq2/dofhelper.hh>
template<class GridView>
struct Dumux::PQ2LagrangeDofHelper< GridView >
For order 2, every sub-entity carries exactly one DOF so no orientation permutation is needed: dofIndex simply returns mapper.subIndex(...).
- Template Parameters
-
| GridView | The Dune grid view type. |
|
| template<class DofMapper, class Element, class LocalKey, class IdSet> |
| static std::size_t | dofIndex (const DofMapper &m, const Element &e, const LocalKey &lk, const IdSet &) |
| template<class DofMapper, class Element, class LocalKey> |
| static std::size_t | dofIndex (const DofMapper &m, const Element &e, const LocalKey &lk) |
| | Global DOF index for the given local key (3-argument overload, no id-set).
|
| template<class Geometry, class LocalKey> |
| static GlobalPosition | dofPosition (const Geometry &geo, const LocalKey &lk) |
| | Physical position of the DOF in global coordinates.
|
|
| static constexpr int | dim = GridView::dimension |
◆ GlobalPosition
◆ Scalar
◆ dofIndex() [1/2]
template<class GridView>
template<class DofMapper, class Element, class LocalKey>
◆ dofIndex() [2/2]
template<class GridView>
template<class DofMapper, class Element, class LocalKey, class IdSet>
| std::size_t Dumux::PQ2LagrangeDofHelper< GridView >::dofIndex |
( |
const DofMapper & | m, |
|
|
const Element & | e, |
|
|
const LocalKey & | lk, |
|
|
const IdSet & | ) |
|
inlinestatic |
Global DOF index for the given local key. The id-set argument is accepted but ignored (no orientation needed for k=2).
◆ dofPosition()
template<class GridView>
template<class Geometry, class LocalKey>
◆ dim
The documentation for this struct was generated from the following file: