dune-geometry 2.10
Loading...
Searching...
No Matches
Dune::RefinementImp::PrismTriangulation Namespace Reference

This namespace contains the Refinement implementation for triangulating prisms (GeometryType::prism -> GeometryType::simplex). More...

Classes

class  RefinementIteratorSpecial
class  RefinementImp
 Implementation of the refinement of a prism into simplices. More...
class  RefinementIteratorSpecial< dimension, CoordType, dimension >
class  RefinementIteratorSpecial< dimension, CoordType, 0 >

Functions

template<int dimension, class CoordType>
FieldVector< CoordType, dimension > transformCoordinate (FieldVector< CoordType, dimension > point)
template<int n>
FieldVector< int, n > getPermutation (int m)
 Calculate permutation from it's index.
template<int dimension, class CoordType>
FieldVector< CoordType, dimension > referenceToKuhn (FieldVector< CoordType, dimension > point, const FieldVector< int, dimension > &kuhn)
 Map from the reference simplex to some Kuhn simplex.

Detailed Description

This namespace contains the Refinement implementation for triangulating prisms (GeometryType::prism -> GeometryType::simplex).

Function Documentation

◆ getPermutation()

template<int n>
FieldVector< int, n > Dune::RefinementImp::Simplex::getPermutation ( int m)

Calculate permutation from it's index.

Runtime is of order O(n).

◆ referenceToKuhn()

template<int dimension, class CoordType>
FieldVector< CoordType, dimension > Dune::RefinementImp::Simplex::referenceToKuhn ( FieldVector< CoordType, dimension > point,
const FieldVector< int, dimension > & kuhn )

Map from the reference simplex to some Kuhn simplex.

Template Parameters
dimensionDimension of the simplices
CoordTypeThe C++ type of the coordinates

Runtime is of order O(dimension)

Parameters
pointPoint to map
kuhnPermutation of the Kuhn simplex to map to

◆ transformCoordinate()

template<int dimension, class CoordType>
FieldVector< CoordType, dimension > Dune::RefinementImp::PrismTriangulation::transformCoordinate ( FieldVector< CoordType, dimension > point)