|
| static constexpr EntityShape | shape |
◆ shape
Initial value:= []() constexpr
{
static_assert( dim >= 0 && dim <= 3, "unexpected dimension of the grid entity" );
if constexpr( dim == 0 )
return EntityShape::Vertex;
if constexpr( dim == 1 )
return EntityShape::Line;
if constexpr( dim == 2 )
return EntityShape::Pixel;
if constexpr( dim == 3 )
return EntityShape::Voxel;
}()
static constexpr int getEntityDimension()
Getter of the dimensions of the grid entity.
The documentation for this struct was generated from the following file:
- src/TNL/Meshes/VTKTraits.h