Viskores  1.0
Namespaces | Functions
CellMeasure.h File Reference
#include <viskores/CellShape.h>
#include <viskores/CellTraits.h>
#include <viskores/ErrorCode.h>
#include <viskores/VecTraits.h>
#include <viskores/VectorAnalysis.h>
#include <viskores/exec/FunctorBase.h>

Go to the source code of this file.

Namespaces

 viskores
 Groups connected points that have the same field value.
 
 viskores::exec
 Viskores Execution Environment.
 

Functions

template<typename OutType , typename PointCoordVecType , typename CellShapeType >
OutType viskores::exec::CellMeasure (const viskores::IdComponent &numPts, const PointCoordVecType &pts, CellShapeType shape, viskores::ErrorCode &)
 By default, cells have zero measure unless this template is specialized below. More...
 
template<typename OutType , typename PointCoordVecType >
OutType viskores::exec::CellMeasure (const viskores::IdComponent &numPts, const PointCoordVecType &pts, viskores::CellShapeTagLine, viskores::ErrorCode &ec)
 Compute the arc length of a poly-line cell. More...
 
template<typename OutType , typename PointCoordVecType >
OutType viskores::exec::CellMeasure (const viskores::IdComponent &numPts, const PointCoordVecType &pts, viskores::CellShapeTagTriangle, viskores::ErrorCode &ec)
 Compute the area of a triangular cell. More...
 
template<typename OutType , typename PointCoordVecType >
OutType viskores::exec::CellMeasure (const viskores::IdComponent &numPts, const PointCoordVecType &pts, viskores::CellShapeTagQuad, viskores::ErrorCode &ec)
 Compute the area of a quadrilateral cell. More...
 
template<typename OutType , typename PointCoordVecType >
OutType viskores::exec::ComputeMeasure (const viskores::IdComponent &, const PointCoordVecType &, viskores::CellShapeTagPolygon, viskores::ErrorCode &ec)
 
template<typename OutType , typename PointCoordVecType >
OutType viskores::exec::CellMeasure (const viskores::IdComponent &numPts, const PointCoordVecType &pts, viskores::CellShapeTagTetra, viskores::ErrorCode &ec)
 Compute the volume of a tetrahedron. More...
 
template<typename OutType , typename PointCoordVecType >
OutType viskores::exec::CellMeasure (const viskores::IdComponent &numPts, const PointCoordVecType &pts, viskores::CellShapeTagHexahedron, viskores::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 >
OutType viskores::exec::CellMeasure (const viskores::IdComponent &numPts, const PointCoordVecType &pts, viskores::CellShapeTagWedge, viskores::ErrorCode &ec)
 Compute the volume of a wedge cell (approximated as 3 tetrahedra). More...
 
template<typename OutType , typename PointCoordVecType >
OutType viskores::exec::CellMeasure (const viskores::IdComponent &numPts, const PointCoordVecType &pts, viskores::CellShapeTagPyramid, viskores::ErrorCode &ec)
 Compute the volume of a pyramid (approximated as 2 tetrahedra) More...
 

Detailed Description

Functions that provide integral measures over cells.