Dune::RefinementImp::Traits< geometryType, CoordType, coerceTo, dimension > Struct Template Reference
List of all members.
Detailed Description
template<GeometryType::BasicType geometryType, class CoordType, GeometryType::BasicType coerceTo, int dimension>
struct Dune::RefinementImp::Traits< geometryType, CoordType, coerceTo, dimension >
Mapping from geometryType, CoordType and coerceTo to a particular
Refinement implementation.
- Parameters:
-
| geometryType | The GeometryType::BasicType of the element to refine |
| CoordType | The C++ type of the coordinates |
| coerceTo | The GeometryType::BasicType of the subelements |
| dimension | The dimension of the refinement. |
Each
Refinement implementation has to define one or more specialisations of this struct to declare what it implements. Template class
Refinement uses this struct to know which implementation it should inherit from.
Each specialisation should contain a single member typedef Imp, e.g.:
template<class CoordType>
struct Traits<GeometryType::sphere, CoordType, GeometryType::cube, 2>
{
typedef SquaringTheCircle::Refinement Imp;
};
|
Public Types |
typedef
SquaringTheCircle::Refinement | Imp |
| The implementation this specialisation maps to.
|
The documentation for this struct was generated from the following file: