VTK-m  2.2
Classes | Namespaces | Macros
CellTraits.h File Reference
#include <vtkm/CellShape.h>

Go to the source code of this file.

Classes

struct  vtkm::CellTopologicalDimensionsTag< dimension >
 vtkm::CellTraits::TopologyDimensionType is typedef to this with the template parameter set to TOPOLOGICAL_DIMENSIONS. More...
 
struct  vtkm::CellTraitsTagSizeFixed
 Tag for cell shapes with a fixed number of points. More...
 
struct  vtkm::CellTraitsTagSizeVariable
 Tag for cell shapes that can have a variable number of points. More...
 
struct  vtkm::CellTraits< CellTag >
 Information about a cell based on its tag. More...
 
struct  vtkm::CellTraits< vtkm::CellShapeTagEmpty >
 
struct  vtkm::CellTraits< vtkm::CellShapeTagVertex >
 
struct  vtkm::CellTraits< vtkm::CellShapeTagLine >
 
struct  vtkm::CellTraits< vtkm::CellShapeTagPolyLine >
 
struct  vtkm::CellTraits< vtkm::CellShapeTagTriangle >
 
struct  vtkm::CellTraits< vtkm::CellShapeTagPolygon >
 
struct  vtkm::CellTraits< vtkm::CellShapeTagQuad >
 
struct  vtkm::CellTraits< vtkm::CellShapeTagTetra >
 
struct  vtkm::CellTraits< vtkm::CellShapeTagHexahedron >
 
struct  vtkm::CellTraits< vtkm::CellShapeTagWedge >
 
struct  vtkm::CellTraits< vtkm::CellShapeTagPyramid >
 

Namespaces

 vtkm
 Groups connected points that have the same field value.
 

Macros

#define VTKM_DEFINE_CELL_TRAITS(name, dimensions, numPoints)
 
#define VTKM_DEFINE_CELL_TRAITS_VARIABLE(name, dimensions)
 

Macro Definition Documentation

◆ VTKM_DEFINE_CELL_TRAITS

#define VTKM_DEFINE_CELL_TRAITS (   name,
  dimensions,
  numPoints 
)
Value:
template <> \
struct CellTraits<vtkm::CellShapeTag##name> \
{ \
static constexpr vtkm::IdComponent TOPOLOGICAL_DIMENSIONS = dimensions; \
using IsSizeFixed = vtkm::CellTraitsTagSizeFixed; \
static constexpr vtkm::IdComponent NUM_POINTS = numPoints; \
}

◆ VTKM_DEFINE_CELL_TRAITS_VARIABLE

#define VTKM_DEFINE_CELL_TRAITS_VARIABLE (   name,
  dimensions 
)
Value:
template <> \
struct CellTraits<vtkm::CellShapeTag##name> \
{ \
static constexpr vtkm::IdComponent TOPOLOGICAL_DIMENSIONS = dimensions; \
using IsSizeFixed = vtkm::CellTraitsTagSizeVariable; \
}
vtkm::IdComponent
vtkm::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:194
vtkm::CellTraitsTagSizeVariable
Tag for cell shapes that can have a variable number of points.
Definition: CellTraits.h:35
vtkm::CellTopologicalDimensionsTag
vtkm::CellTraits::TopologyDimensionType is typedef to this with the template parameter set to TOPOLOG...
Definition: CellTraits.h:23
vtkm::CellTraitsTagSizeFixed
Tag for cell shapes with a fixed number of points.
Definition: CellTraits.h:29