dune-alugrid  3.0.0
Classes | Public Member Functions | Static Public Attributes | List of all members
Dune::ALUTwist< corners, 2 > Class Template Reference

#include <dune/alugrid/common/twists.hh>

Public Member Functions

 operator int () const
 
int apply (int i) const
 
int apply (int i, int codim) const
 
Construction
 ALUTwist ()
 default constructor; results in identity twist More...
 
 ALUTwist (GeometryType)
 
 ALUTwist (int aluTwist)
 
 ALUTwist (int origin, bool positive)
 
Copying and Assignment
 ALUTwist (const ALUTwist &other)
 copy constructor More...
 
ALUTwistoperator= (const ALUTwist &other)
 assignment operator More...
 
Group Operations
ALUTwist operator* (const ALUTwist &other) const
 composition More...
 
ALUTwist operator/ (const ALUTwist &other) const
 composition with inverse More...
 
ALUTwistoperator*= (const ALUTwist &other)
 composition More...
 
ALUTwistoperator/= (const ALUTwist &other)
 composition with inverse More...
 
ALUTwist inverse () const
 obtain inverse More...
 
bool operator== (const ALUTwist &other) const
 Comparison. More...
 
bool operator!= (const ALUTwist &other) const
 check for inequality More...
 
GeometryType type () const
 Topological Corner Mapping. More...
 
int operator() (int i) const
 map i-th corner More...
 
int operator() (int i, int codim) const
 
template<class ctype >
 operator AffineGeometry< ctype, dimension, dimension > () const
 Geometric Equivalent. More...
 
bool positive () const
 equivalent to $|DF| > 0$ More...
 

Static Public Attributes

static const int dimension = 2
 dimension More...
 

Constructor & Destructor Documentation

◆ ALUTwist() [1/5]

template<int corners>
Dune::ALUTwist< corners, 2 >::ALUTwist ( )
inline

default constructor; results in identity twist

◆ ALUTwist() [2/5]

template<int corners>
Dune::ALUTwist< corners, 2 >::ALUTwist ( GeometryType  )
inlineexplicit

◆ ALUTwist() [3/5]

template<int corners>
Dune::ALUTwist< corners, 2 >::ALUTwist ( int  aluTwist)
inlineexplicit

◆ ALUTwist() [4/5]

template<int corners>
Dune::ALUTwist< corners, 2 >::ALUTwist ( int  origin,
bool  positive 
)
inline

◆ ALUTwist() [5/5]

template<int corners>
Dune::ALUTwist< corners, 2 >::ALUTwist ( const ALUTwist< corners, 2 > &  other)
inline

copy constructor

Member Function Documentation

◆ apply() [1/2]

template<int corners>
int Dune::ALUTwist< corners, 2 >::apply ( int  i) const
inline

◆ apply() [2/2]

template<int corners>
int Dune::ALUTwist< corners, 2 >::apply ( int  i,
int  codim 
) const
inline

◆ inverse()

template<int corners>
ALUTwist Dune::ALUTwist< corners, 2 >::inverse ( ) const
inline

obtain inverse

◆ operator AffineGeometry< ctype, dimension, dimension >()

template<int corners>
template<class ctype >
Dune::ALUTwist< corners, 2 >::operator AffineGeometry< ctype, dimension, dimension > ( ) const
inline

Geometric Equivalent.

cast into affine geometry $F$

◆ operator int()

template<int corners>
Dune::ALUTwist< corners, 2 >::operator int ( ) const
inline

◆ operator!=()

template<int corners>
bool Dune::ALUTwist< corners, 2 >::operator!= ( const ALUTwist< corners, 2 > &  other) const
inline

check for inequality

◆ operator()() [1/2]

template<int corners>
int Dune::ALUTwist< corners, 2 >::operator() ( int  i) const
inline

map i-th corner

Parameters
[in]icorner index
Returns
mapped index

◆ operator()() [2/2]

template<int corners>
int Dune::ALUTwist< corners, 2 >::operator() ( int  i,
int  codim 
) const
inline

◆ operator*()

template<int corners>
ALUTwist Dune::ALUTwist< corners, 2 >::operator* ( const ALUTwist< corners, 2 > &  other) const
inline

composition

◆ operator*=()

template<int corners>
ALUTwist& Dune::ALUTwist< corners, 2 >::operator*= ( const ALUTwist< corners, 2 > &  other)
inline

composition

◆ operator/()

template<int corners>
ALUTwist Dune::ALUTwist< corners, 2 >::operator/ ( const ALUTwist< corners, 2 > &  other) const
inline

composition with inverse

◆ operator/=()

template<int corners>
ALUTwist& Dune::ALUTwist< corners, 2 >::operator/= ( const ALUTwist< corners, 2 > &  other)
inline

composition with inverse

◆ operator=()

template<int corners>
ALUTwist& Dune::ALUTwist< corners, 2 >::operator= ( const ALUTwist< corners, 2 > &  other)
inline

assignment operator

◆ operator==()

template<int corners>
bool Dune::ALUTwist< corners, 2 >::operator== ( const ALUTwist< corners, 2 > &  other) const
inline

Comparison.

check for equality

◆ positive()

template<int corners>
bool Dune::ALUTwist< corners, 2 >::positive ( ) const
inline

equivalent to $|DF| > 0$

◆ type()

template<int corners>
GeometryType Dune::ALUTwist< corners, 2 >::type ( ) const
inline

Topological Corner Mapping.

obtain type of reference element

Member Data Documentation

◆ dimension

template<int corners>
const int Dune::ALUTwist< corners, 2 >::dimension = 2
static

dimension


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