dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::Fem::TwistStorage< ct, dim > Class Template Reference

Identifies quadrature points on faces with twists For a given quadrature type and a face with a given twist the TwistMapper provides a mapping from the quadrature point number on the twisted face to the quadrature point number on the (untwisted) reference face. (It removes the twist from the quadrature, so to say.) This is needed in unstructured grids when a quadrature point on a reference element's face needs to be transformed to a quadrature point in the reference element itself. More...

#include <dune/fem/quadrature/caching/twistprovider.hh>

Public Types

typedef Traits::PointType PointType
 
typedef Traits::PointVectorType PointVectorType
 
typedef Traits::MapperType MapperType
 

Public Member Functions

 TwistStorage (int minTwist, int maxTwist)
 
void addMapper (const MapperType &mapper, int twist)
 Add a new mapper for a given twist.
 
size_t addPoint (const PointType &points)
 Add a point (in the case of asymmetric quadratures)
 
const MapperTypegetMapper (int twist) const
 Access to a mapper.
 
const PointVectorTypegetPoints () const
 
int minTwist () const
 Minimal twist.
 
int maxTwist () const
 Maximal twist + 1.
 

Detailed Description

template<class ct, int dim>
class Dune::Fem::TwistStorage< ct, dim >

Identifies quadrature points on faces with twists For a given quadrature type and a face with a given twist the TwistMapper provides a mapping from the quadrature point number on the twisted face to the quadrature point number on the (untwisted) reference face. (It removes the twist from the quadrature, so to say.) This is needed in unstructured grids when a quadrature point on a reference element's face needs to be transformed to a quadrature point in the reference element itself.

The PointMapper objects are filled by the TwistMapperCreator and its subclasses.

Helper class which stores information about twist mapping for a given quadrature id.

Member Typedef Documentation

◆ MapperType

template<class ct , int dim>
typedef Traits::MapperType Dune::Fem::TwistStorage< ct, dim >::MapperType

◆ PointType

template<class ct , int dim>
typedef Traits::PointType Dune::Fem::TwistStorage< ct, dim >::PointType

◆ PointVectorType

template<class ct , int dim>
typedef Traits::PointVectorType Dune::Fem::TwistStorage< ct, dim >::PointVectorType

Constructor & Destructor Documentation

◆ TwistStorage()

template<class ct , int dim>
Dune::Fem::TwistStorage< ct, dim >::TwistStorage ( int  minTwist,
int  maxTwist 
)
explicit

Constructor

Parameters
minTwistMinimal possible twist for the face
maxTwistMaximal possible twist for the face + 1

Member Function Documentation

◆ addMapper()

template<class ct , int dim>
void Dune::Fem::TwistStorage< ct, dim >::addMapper ( const MapperType mapper,
int  twist 
)

Add a new mapper for a given twist.

◆ addPoint()

template<class ct , int dim>
size_t Dune::Fem::TwistStorage< ct, dim >::addPoint ( const PointType points)

Add a point (in the case of asymmetric quadratures)

◆ getMapper()

template<class ct , int dim>
const TwistStorage< ct, dim >::MapperType & Dune::Fem::TwistStorage< ct, dim >::getMapper ( int  twist) const

Access to a mapper.

◆ getPoints()

template<class ct , int dim>
const TwistStorage< ct, dim >::PointVectorType & Dune::Fem::TwistStorage< ct, dim >::getPoints

Access to the points for all twists (in the case of symmetric quadratures, the points are identical with the quadrature points).

◆ maxTwist()

template<class ct , int dim>
int Dune::Fem::TwistStorage< ct, dim >::maxTwist ( ) const
inline

Maximal twist + 1.

◆ minTwist()

template<class ct , int dim>
int Dune::Fem::TwistStorage< ct, dim >::minTwist ( ) const
inline

Minimal twist.


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