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

#include <MIR.h>

Public Member Functions

VTKM_CONT ExecutionConnectivityExplicit ()=default
 
VTKM_CONT ExecutionConnectivityExplicit (vtkm::cont::ArrayHandle< vtkm::UInt8 > shapes, vtkm::cont::ArrayHandle< vtkm::IdComponent > numberOfIndices, vtkm::cont::ArrayHandle< vtkm::Id > connectivity, vtkm::cont::ArrayHandle< vtkm::Id > offsets, MIRStats stats, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
 
VTKM_EXEC void SetCellShape (vtkm::Id cellIndex, vtkm::UInt8 shape)
 
VTKM_EXEC void SetNumberOfIndices (vtkm::Id cellIndex, vtkm::IdComponent numIndices)
 
VTKM_EXEC void SetIndexOffset (vtkm::Id cellIndex, vtkm::Id indexOffset)
 
VTKM_EXEC void SetConnectivity (vtkm::Id connectivityIndex, vtkm::Id pointIndex)
 

Private Types

using UInt8Portal = typename vtkm::cont::ArrayHandle< vtkm::UInt8 >::WritePortalType
 
using IdComponentPortal = typename vtkm::cont::ArrayHandle< vtkm::IdComponent >::WritePortalType
 
using IdPortal = typename vtkm::cont::ArrayHandle< vtkm::Id >::WritePortalType
 

Private Attributes

UInt8Portal Shapes
 
IdComponentPortal NumberOfIndices
 
IdPortal Connectivity
 
IdPortal Offsets
 

Member Typedef Documentation

◆ IdComponentPortal

◆ IdPortal

◆ UInt8Portal

Constructor & Destructor Documentation

◆ ExecutionConnectivityExplicit() [1/2]

VTKM_CONT vtkm::worklet::ExecutionConnectivityExplicit::ExecutionConnectivityExplicit ( )
default

◆ ExecutionConnectivityExplicit() [2/2]

VTKM_CONT vtkm::worklet::ExecutionConnectivityExplicit::ExecutionConnectivityExplicit ( vtkm::cont::ArrayHandle< vtkm::UInt8 shapes,
vtkm::cont::ArrayHandle< vtkm::IdComponent numberOfIndices,
vtkm::cont::ArrayHandle< vtkm::Id connectivity,
vtkm::cont::ArrayHandle< vtkm::Id offsets,
MIRStats  stats,
vtkm::cont::DeviceAdapterId  device,
vtkm::cont::Token token 
)
inline

Member Function Documentation

◆ SetCellShape()

VTKM_EXEC void vtkm::worklet::ExecutionConnectivityExplicit::SetCellShape ( vtkm::Id  cellIndex,
vtkm::UInt8  shape 
)
inline

◆ SetConnectivity()

VTKM_EXEC void vtkm::worklet::ExecutionConnectivityExplicit::SetConnectivity ( vtkm::Id  connectivityIndex,
vtkm::Id  pointIndex 
)
inline

◆ SetIndexOffset()

VTKM_EXEC void vtkm::worklet::ExecutionConnectivityExplicit::SetIndexOffset ( vtkm::Id  cellIndex,
vtkm::Id  indexOffset 
)
inline

◆ SetNumberOfIndices()

VTKM_EXEC void vtkm::worklet::ExecutionConnectivityExplicit::SetNumberOfIndices ( vtkm::Id  cellIndex,
vtkm::IdComponent  numIndices 
)
inline

Member Data Documentation

◆ Connectivity

IdPortal vtkm::worklet::ExecutionConnectivityExplicit::Connectivity
private

◆ NumberOfIndices

IdComponentPortal vtkm::worklet::ExecutionConnectivityExplicit::NumberOfIndices
private

◆ Offsets

IdPortal vtkm::worklet::ExecutionConnectivityExplicit::Offsets
private

◆ Shapes

UInt8Portal vtkm::worklet::ExecutionConnectivityExplicit::Shapes
private

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