VTK-m  2.0
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
vtkm::exec::CellInterpolationHelper Class Reference

#include <CellInterpolationHelper.h>

Public Types

enum  HelperType { HelperType::STRUCTURED, HelperType::EXPSINGLE, HelperType::EXPLICIT }
 

Public Member Functions

VTKM_CONT CellInterpolationHelper ()=default
 
VTKM_CONT CellInterpolationHelper (const vtkm::Id3 &cellDims, const vtkm::Id3 &pointDims, bool is3D)
 
 CellInterpolationHelper (const vtkm::UInt8 cellShape, const vtkm::IdComponent pointsPerCell, const ConnType &connectivity, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
 
VTKM_CONT CellInterpolationHelper (const ShapeType &shape, const OffsetType &offset, const ConnType &connectivity, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
 
VTKM_EXEC void GetCellInfo (const vtkm::Id &cellId, vtkm::UInt8 &cellShape, vtkm::IdComponent &numVerts, vtkm::VecVariable< vtkm::Id, 8 > &indices) const
 

Private Types

using ShapeType = vtkm::cont::ArrayHandle< vtkm::UInt8 >
 
using OffsetType = vtkm::cont::ArrayHandle< vtkm::Id >
 
using ConnType = vtkm::cont::ArrayHandle< vtkm::Id >
 
using ShapePortalType = typename ShapeType::ReadPortalType
 
using OffsetPortalType = typename OffsetType::ReadPortalType
 
using ConnPortalType = typename ConnType::ReadPortalType
 

Private Attributes

HelperType Type
 
vtkm::Id3 CellDims
 
vtkm::Id3 PointDims
 
bool Is3D = true
 
vtkm::UInt8 CellShape
 
vtkm::IdComponent PointsPerCell
 
ShapePortalType Shape
 
OffsetPortalType Offset
 
ConnPortalType Connectivity
 

Member Typedef Documentation

◆ ConnPortalType

◆ ConnType

◆ OffsetPortalType

◆ OffsetType

◆ ShapePortalType

◆ ShapeType

Member Enumeration Documentation

◆ HelperType

Enumerator
STRUCTURED 
EXPSINGLE 
EXPLICIT 

Constructor & Destructor Documentation

◆ CellInterpolationHelper() [1/4]

VTKM_CONT vtkm::exec::CellInterpolationHelper::CellInterpolationHelper ( )
default

◆ CellInterpolationHelper() [2/4]

VTKM_CONT vtkm::exec::CellInterpolationHelper::CellInterpolationHelper ( const vtkm::Id3 cellDims,
const vtkm::Id3 pointDims,
bool  is3D 
)
inline

◆ CellInterpolationHelper() [3/4]

vtkm::exec::CellInterpolationHelper::CellInterpolationHelper ( const vtkm::UInt8  cellShape,
const vtkm::IdComponent  pointsPerCell,
const ConnType connectivity,
vtkm::cont::DeviceAdapterId  device,
vtkm::cont::Token token 
)
inline

◆ CellInterpolationHelper() [4/4]

VTKM_CONT vtkm::exec::CellInterpolationHelper::CellInterpolationHelper ( const ShapeType shape,
const OffsetType offset,
const ConnType connectivity,
vtkm::cont::DeviceAdapterId  device,
vtkm::cont::Token token 
)
inline

Member Function Documentation

◆ GetCellInfo()

VTKM_EXEC void vtkm::exec::CellInterpolationHelper::GetCellInfo ( const vtkm::Id cellId,
vtkm::UInt8 cellShape,
vtkm::IdComponent numVerts,
vtkm::VecVariable< vtkm::Id, 8 > &  indices 
) const
inline

Member Data Documentation

◆ CellDims

vtkm::Id3 vtkm::exec::CellInterpolationHelper::CellDims
private

◆ CellShape

vtkm::UInt8 vtkm::exec::CellInterpolationHelper::CellShape
private

◆ Connectivity

ConnPortalType vtkm::exec::CellInterpolationHelper::Connectivity
private

◆ Is3D

bool vtkm::exec::CellInterpolationHelper::Is3D = true
private

◆ Offset

OffsetPortalType vtkm::exec::CellInterpolationHelper::Offset
private

◆ PointDims

vtkm::Id3 vtkm::exec::CellInterpolationHelper::PointDims
private

◆ PointsPerCell

vtkm::IdComponent vtkm::exec::CellInterpolationHelper::PointsPerCell
private

◆ Shape

ShapePortalType vtkm::exec::CellInterpolationHelper::Shape
private

◆ Type

HelperType vtkm::exec::CellInterpolationHelper::Type
private

The documentation for this class was generated from the following file: