VTK-m  2.0
Namespaces | Functions
exec/CellMeasure.h File Reference
#include <vtkm/CellShape.h>
#include <vtkm/CellTraits.h>
#include <vtkm/ErrorCode.h>
#include <vtkm/VecTraits.h>
#include <vtkm/VectorAnalysis.h>
#include <vtkm/exec/FunctorBase.h>

Go to the source code of this file.

Namespaces

 vtkm
 Groups connected points that have the same field value.
 
 vtkm::exec
 VTK-m Execution Environment.
 

Functions

template<typename OutType , typename PointCoordVecType , typename CellShapeType >
VTKM_EXEC OutType vtkm::exec::CellMeasure (const vtkm::IdComponent &numPts, const PointCoordVecType &pts, CellShapeType shape, vtkm::ErrorCode &)
 By default, cells have zero measure unless this template is specialized below. More...
 
template<typename OutType , typename PointCoordVecType >
VTKM_EXEC OutType vtkm::exec::CellMeasure (const vtkm::IdComponent &numPts, const PointCoordVecType &pts, vtkm::CellShapeTagLine, vtkm::ErrorCode &ec)
 Compute the arc length of a poly-line cell. More...
 
template<typename OutType , typename PointCoordVecType >
VTKM_EXEC OutType vtkm::exec::CellMeasure (const vtkm::IdComponent &numPts, const PointCoordVecType &pts, vtkm::CellShapeTagTriangle, vtkm::ErrorCode &ec)
 Compute the area of a triangular cell. More...
 
template<typename OutType , typename PointCoordVecType >
VTKM_EXEC OutType vtkm::exec::CellMeasure (const vtkm::IdComponent &numPts, const PointCoordVecType &pts, vtkm::CellShapeTagQuad, vtkm::ErrorCode &ec)
 Compute the area of a quadrilateral cell. More...
 
template<typename OutType , typename PointCoordVecType >
VTKM_EXEC OutType vtkm::exec::ComputeMeasure (const vtkm::IdComponent &, const PointCoordVecType &, vtkm::CellShapeTagPolygon, vtkm::ErrorCode &ec)
 
template<typename OutType , typename PointCoordVecType >
VTKM_EXEC OutType vtkm::exec::CellMeasure (const vtkm::IdComponent &numPts, const PointCoordVecType &pts, vtkm::CellShapeTagTetra, vtkm::ErrorCode &ec)
 Compute the volume of a tetrahedron. More...
 
template<typename OutType , typename PointCoordVecType >
VTKM_EXEC OutType vtkm::exec::CellMeasure (const vtkm::IdComponent &numPts, const PointCoordVecType &pts, vtkm::CellShapeTagHexahedron, vtkm::ErrorCode &ec)
 Compute the volume of a hexahedral cell (approximated via triple product of average edge along each parametric axis). More...
 
template<typename OutType , typename PointCoordVecType >
VTKM_EXEC OutType vtkm::exec::CellMeasure (const vtkm::IdComponent &numPts, const PointCoordVecType &pts, vtkm::CellShapeTagWedge, vtkm::ErrorCode &ec)
 Compute the volume of a wedge cell (approximated as 3 tetrahedra). More...
 
template<typename OutType , typename PointCoordVecType >
VTKM_EXEC OutType vtkm::exec::CellMeasure (const vtkm::IdComponent &numPts, const PointCoordVecType &pts, vtkm::CellShapeTagPyramid, vtkm::ErrorCode &ec)
 Compute the volume of a pyramid (approximated as 2 tetrahedra) More...
 

Detailed Description

Functions that provide integral measures over cells.