dune-geometry
2.4
|
Class providing information on the ordering of vertices. More...
#include <dune/geometry/generalvertexorder.hh>
Classes | |
class | iterator |
Iterate over the vertex indices of some sub-entity. More... | |
Public Types | |
typedef Index_ | Index |
Type of indices. More... | |
Public Member Functions | |
const GeometryType & | type () const |
get type of the entity's geometry More... | |
template<class InIterator > | |
GeneralVertexOrder (const GeometryType >_, const InIterator &inBegin, const InIterator &inEnd) | |
construct a GeneralVertexOrder More... | |
iterator | begin (std::size_t codim, std::size_t subEntity) const |
get begin iterator for the vertex indices of some sub-entity More... | |
iterator | end (std::size_t codim, std::size_t subEntity) const |
get end iterator for the vertex indices of some sub-entity More... | |
void | getReduced (std::size_t codim, std::size_t subEntity, std::vector< Index > &order) const |
get a vector of reduced indices for some sub-entity More... | |
Static Public Attributes | |
static const std::size_t | dimension = dim |
export the dimension of the entity we provide information for More... | |
Class providing information on the ordering of vertices.
dim | Dimension of the entity this class provides ordering information for. |
Index_ | Type of the indices. Must be integral, may be non-negative. |
This class provides ordering information for all codimensions, including the element itself.
typedef Index_ Dune::GeneralVertexOrder< dim, Index_ >::Index |
Type of indices.
|
inline |
construct a GeneralVertexOrder
gt_ | Geometry type of the entity we provide information for. |
inBegin | Start of the range of vertex ids. |
inEnd | End of the range of vertex ids. |
inBegin
and inEnd
denote the range of vertes ids to provide. This class stores a reduced copy of the ids, converted to type Index.
References Dune::reduceOrder().
|
inline |
get begin iterator for the vertex indices of some sub-entity
codim | Codimension of the sub-entity. |
subEntity | Index of the sub-entity within that codimension. |
Referenced by Dune::GeneralVertexOrder< dim, Index_ >::getReduced().
|
inline |
get end iterator for the vertex indices of some sub-entity
codim | Codimension of the sub-entity. |
subEntity | Index of the sub-entity within that codimension. |
References Dune::ReferenceElement< ctype, dim >::size().
Referenced by Dune::GeneralVertexOrder< dim, Index_ >::getReduced().
|
inline |
get a vector of reduced indices for some sub-entity
codim | Codimension of the sub-entity. |
subEntity | Index of the sub-entity within that codimension. |
order | Where to store the result. This function resizes the vector to the suitable size. |
References Dune::GeneralVertexOrder< dim, Index_ >::begin(), Dune::GeneralVertexOrder< dim, Index_ >::end(), Dune::reduceOrder(), and Dune::ReferenceElement< ctype, dim >::size().
|
inline |
get type of the entity's geometry
|
static |
export the dimension of the entity we provide information for