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

Device implementation of FindRegularByGlobal for the HierarchicalContourTree. More...

#include <FindRegularByGlobal.h>

Public Types

using IndicesPortalType = typename vtkm::worklet::contourtree_augmented::IdArrayType::ReadPortalType
 

Public Member Functions

VTKM_CONT FindRegularByGlobalDeviceData (vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token, const vtkm::worklet::contourtree_augmented::IdArrayType &regularNodeSortOrder, const vtkm::worklet::contourtree_augmented::IdArrayType &regularNodeGlobalIds)
 
VTKM_EXEC vtkm::Id operator() (vtkm::Id globalId) const
 Define also as an operator so that we can use it in ArrayHandleTransform directly. More...
 
VTKM_EXEC vtkm::Id FindRegularByGlobal (vtkm::Id globalId) const
 routine to search the array of regular nodes for a particular global ID More...
 

Private Attributes

IndicesPortalType RegularNodeSortOrder
 
IndicesPortalType RegularNodeGlobalIds
 

Detailed Description

Device implementation of FindRegularByGlobal for the HierarchicalContourTree.

Member Typedef Documentation

◆ IndicesPortalType

Constructor & Destructor Documentation

◆ FindRegularByGlobalDeviceData()

VTKM_CONT vtkm::worklet::contourtree_distributed::FindRegularByGlobalDeviceData::FindRegularByGlobalDeviceData ( vtkm::cont::DeviceAdapterId  device,
vtkm::cont::Token token,
const vtkm::worklet::contourtree_augmented::IdArrayType regularNodeSortOrder,
const vtkm::worklet::contourtree_augmented::IdArrayType regularNodeGlobalIds 
)
inline

Member Function Documentation

◆ FindRegularByGlobal()

VTKM_EXEC vtkm::Id vtkm::worklet::contourtree_distributed::FindRegularByGlobalDeviceData::FindRegularByGlobal ( vtkm::Id  globalId) const
inline

routine to search the array of regular nodes for a particular global ID

◆ operator()()

VTKM_EXEC vtkm::Id vtkm::worklet::contourtree_distributed::FindRegularByGlobalDeviceData::operator() ( vtkm::Id  globalId) const
inline

Define also as an operator so that we can use it in ArrayHandleTransform directly.

Member Data Documentation

◆ RegularNodeGlobalIds

IndicesPortalType vtkm::worklet::contourtree_distributed::FindRegularByGlobalDeviceData::RegularNodeGlobalIds
private

◆ RegularNodeSortOrder

IndicesPortalType vtkm::worklet::contourtree_distributed::FindRegularByGlobalDeviceData::RegularNodeSortOrder
private

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