AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
Twist< IdSet, dim > Class Template Reference

Permutate the dof indices w.r.t. a global entity orientation. More...

#include <Twist.hpp>

Public Member Functions

 Twist (IdSet const &idSet)
 Constructor. Stores a reference to the passed idSet.
 
template<class Element >
void bind (Element const &element)
 Bind the twist to a codim-0 element. Calculates the global ids of all the element vertices.
 
unsigned int get (Dune::LocalKey const &localKey, unsigned int size) const
 Get the permutated local dof index, living on a subEntity of the bound element. More...
 

Detailed Description

template<class IdSet, int dim>
class AMDiS::Twist< IdSet, dim >

Permutate the dof indices w.r.t. a global entity orientation.

Member Function Documentation

◆ get()

unsigned int get ( Dune::LocalKey const &  localKey,
unsigned int  size 
) const
inline

Get the permutated local dof index, living on a subEntity of the bound element.

If the global entity orientation differs from the local orientation, perform a permutation of the local dof indices on that entity. This is currently implemented for edge entities only.

Parameters
localKeyThe Dune::LocalKey of the local dof, identifying the entity and local index
sizeThe number of local dofs on that entity.

Referenced by NodeIdSet< PB, TP, NodeTag >::fillIn().


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