dune-grid 2.9.0
|
Factory for GeneralVertexOrder objects using an IdSet. More...
#include <dune/grid/utility/vertexorderfactory.hh>
Classes | |
struct | VertexOrder |
type of vertex order object may depend on the dimension of the element More... | |
Public Member Functions | |
VertexOrderByIdFactory (const IdSet &idset_) | |
construct a factory object More... | |
template<typename Element > | |
VertexOrder< Element::mydimension >::type | make (const Element &e) const |
construct a vertex ordering object More... | |
Factory for GeneralVertexOrder objects using an IdSet.
IdSet | Type used to get the ids of the vertices. |
Index | Type of the indices provided by the vertex ordering object. Must be integral, may be non-negative. |
|
inline |
construct a factory object
idset_ | IdSet to use to extract the vertex ids. |
This factory object stores a reference to the IdSet object. The factory object's value will become singular when the stored reference becomes invalid. The only valid operation on a factory with singular value is destruction, all other operations will result in undefined behaviour.
|
inline |
construct a vertex ordering object
e | Grid element to create the vertex ordering object for. |
The returned object will remain valid even after the factory has become singular or has been destroyed.