WaveBlocksND
|
Enumerates nodes of a basis shape. More...
#include <shape_enumerator.hpp>
Public Member Functions | |
template<class Shape > | |
ShapeEnum< D, MultiIndex > | generate (const Shape &shape) const |
std::shared_ptr< ShapeEnum< D, MultiIndex > > | enumerate (AbstractShape< D > const &shape) const |
Enumerates all nodes of a basis shape described by AbstractShape. More... | |
std::shared_ptr< ShapeEnum< D, MultiIndex > > | enumerate (AbstractShape< D > const *shape) const |
Enumerates all nodes of basis shape described by AbstractShape. More... | |
Enumerates nodes of a basis shape.
This basis shape enumerator takes shape description of the form AbstractShape and converts the information to a ShapeEnum.
D | The basis shape dimensionality. |
MultiIndex | The type to represent a multi-index. TinyMultiIndex is a valid type. |
|
inline |
Enumerates all nodes of a basis shape described by AbstractShape.
shape | A reference to the basis shape description. |
|
inline |
Enumerates all nodes of basis shape described by AbstractShape.
shape | A pointer to the basis shape description. |
|
inline |