KASKADE 7 development version
Public Member Functions | List of all members
Kaskade::GlobalBarycentricPermutation< dimension > Class Template Reference

A class for computing permutations of local vertex numbers of simplex subentities to a globally unique ordering. More...

#include <gridcombinatorics.hh>

Detailed Description

template<int dimension>
class Kaskade::GlobalBarycentricPermutation< dimension >

A class for computing permutations of local vertex numbers of simplex subentities to a globally unique ordering.

Use this to compute globally unique numberings of degrees of freedom, as necessary for global continuity of finite element functions.

Definition at line 146 of file gridcombinatorics.hh.

Public Member Functions

template<class IndexSet , class Cell >
 GlobalBarycentricPermutation (IndexSet const &is, Cell const &cell)
 
template<int codim>
std::array< int, dimension+1-codim > barycentricSubsetPermutation (int e) const
 Computes a permutation of barycentric coordinates to globally unique ordering. More...
 
template<class OutIter >
void barycentricSubsetPermutation (int e, int codim, OutIter out) const
 A dynamic interface to barycentricSubsetPermutation. More...
 

Constructor & Destructor Documentation

◆ GlobalBarycentricPermutation()

template<int dimension>
template<class IndexSet , class Cell >
Kaskade::GlobalBarycentricPermutation< dimension >::GlobalBarycentricPermutation ( IndexSet const &  is,
Cell const &  cell 
)
inline

Definition at line 150 of file gridcombinatorics.hh.

Member Function Documentation

◆ barycentricSubsetPermutation() [1/2]

template<int dimension>
template<int codim>
std::array< int, dimension+1-codim > Kaskade::GlobalBarycentricPermutation< dimension >::barycentricSubsetPermutation ( int  e) const
inline

Computes a permutation of barycentric coordinates to globally unique ordering.

Template Parameters
codimthe codimension of the considered subentity
Parameters
ethe subentity number in the cell (among those of given codimension)
Returns
the index permutation vector \( \pi \)

If \( i \) is a barycentric coordinate direction according to the globally unique ordering, \( \pi(i) \) is its cell-local barycentric coordinate direction in the reference element.

Definition at line 166 of file gridcombinatorics.hh.

Referenced by Kaskade::ContinuousLagrangeMapperImplementation< ScalarType, GV, ShapeFunctionFilter >::entityIndex(), and Kaskade::HdivMapper< ScalarType, GV >::update().

◆ barycentricSubsetPermutation() [2/2]

template<int dimension>
template<class OutIter >
void Kaskade::GlobalBarycentricPermutation< dimension >::barycentricSubsetPermutation ( int  e,
int  codim,
OutIter  out 
) const
inline

A dynamic interface to barycentricSubsetPermutation.

Parameters
ethe subentity number in the cell (among those of given codimension)
codimthe codimension of the subentity
outpoints to at least dimension+1-codim entries to be filled

Definition at line 194 of file gridcombinatorics.hh.


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