dune-fem 2.8.0
|
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 MapperType & | getMapper (int twist) const |
Access to a mapper. | |
const PointVectorType & | getPoints () const |
int | minTwist () const |
Minimal twist. | |
int | maxTwist () const |
Maximal twist + 1. | |
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.
typedef Traits::MapperType Dune::Fem::TwistStorage< ct, dim >::MapperType |
typedef Traits::PointType Dune::Fem::TwistStorage< ct, dim >::PointType |
typedef Traits::PointVectorType Dune::Fem::TwistStorage< ct, dim >::PointVectorType |
|
explicit |
Constructor
minTwist | Minimal possible twist for the face |
maxTwist | Maximal possible twist for the face + 1 |
void Dune::Fem::TwistStorage< ct, dim >::addMapper | ( | const MapperType & | mapper, |
int | twist | ||
) |
Add a new mapper for a given twist.
size_t Dune::Fem::TwistStorage< ct, dim >::addPoint | ( | const PointType & | points | ) |
Add a point (in the case of asymmetric quadratures)
const TwistStorage< ct, dim >::MapperType & Dune::Fem::TwistStorage< ct, dim >::getMapper | ( | int | twist | ) | const |
Access to a mapper.
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).
|
inline |
Maximal twist + 1.
|
inline |
Minimal twist.