dune-geometry
2.4
|
Mapping from geometryType, CoordType and coerceTo to a particular Refinement implementation. More...
Public Types | |
typedef SquaringTheCircle::Refinement | Imp |
The implementation this specialisation maps to. More... | |
Mapping from geometryType, CoordType and coerceTo to a particular Refinement implementation.
topologyId | The topology id of the element to refine |
CoordType | The C++ type of the coordinates |
coerceToId | The topologyId of the subelements |
dimension | The dimension of the refinement. |
Dummy | Dummy parameter which can be used for SFINAE, should always be void. |
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. Since non-type template arguments of specializations may not involve template parameters, it is often impossible to specify the specialization for all cases directly. As the workaround, the template parameter Dummy can be used for SFINAE with enable_if.
Each specialisation should contain a single member typedef Imp, e.g.:
typedef SquaringTheCircle::Refinement Dune::RefinementImp::Traits< topologyId, CoordType, coerceToId, dimension, Dummy >::Imp |
The implementation this specialisation maps to.