VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::scalar_topology::hierarchical_volumetric_branch_decomposer::LocalBestUpDownByVolumeWorklet< IsDown > Class Template Reference

Worklet used in HierarchicalAugmenter::CopyBaseRegularStructure for finding the superparent for each node needed. More...

#include <LocalBestUpDownByVolumeWorklet.h>

Inheritance diagram for vtkm::worklet::scalar_topology::hierarchical_volumetric_branch_decomposer::LocalBestUpDownByVolumeWorklet< IsDown >:
vtkm::worklet::WorkletMapField vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(WholeArrayIn actualSuperacrs, WholeArrayIn superarcList, FieldIn permutedUpDownVolume, WholeArrayIn hierarchicalTreeRegularNodeGlobalIds, WholeArrayIn hierarchicalTreeSupernodes, WholeArrayInOut bestUpDownSupernode, WholeArrayInOut bestUpDownVolume)
 Control signature for the worklet. More...
 
using ExecutionSignature = void(InputIndex, _1, _2, _3, _4, _5, _6, _7)
 
using InputDomain = _1
 
- Public Types inherited from vtkm::worklet::WorkletMapField
template<typename Worklet >
using Dispatcher = vtkm::worklet::DispatcherMapField< Worklet >
 

Public Member Functions

VTKM_EXEC_CONT LocalBestUpDownByVolumeWorklet (const vtkm::Id numActualSuperarcs)
 Default Constructor. More...
 
template<typename InFieldPortalType1 , typename InFieldPortalType2 , typename InFieldPortalType3 , typename InFieldPortalType4 , typename OutFieldPortalType1 , typename OutFieldPortalType2 >
VTKM_EXEC void operator() (const vtkm::Id &actualSuperarcIndex, const InFieldPortalType1 &actualSuperarcsPortal, const InFieldPortalType2 &superarcListPortal, const vtkm::Id &upDownVolumeValue, const InFieldPortalType3 &hierarchicalTreeRegularNodeGlobalIdsPortal, const InFieldPortalType4 &hierarchicalTreeSupernodesPortal, const OutFieldPortalType1 &bestUpDownSupernodePortal, const OutFieldPortalType2 &bestUpDownVolumePortal) const
 operator() of the workelt More...
 

Private Attributes

vtkm::Id NumberActualSuperarcs
 

Detailed Description

template<bool IsDown>
class vtkm::worklet::scalar_topology::hierarchical_volumetric_branch_decomposer::LocalBestUpDownByVolumeWorklet< IsDown >

Worklet used in HierarchicalAugmenter::CopyBaseRegularStructure for finding the superparent for each node needed.

Template parameter is bool indicating whether we are processing up- or down best volumes and corresponding whether we need to use the low or high end of the edge. Note: We make this a template paramter so that the corresponding if statement can already be optimozed away during compile time.

Member Typedef Documentation

◆ ControlSignature

template<bool IsDown>
using vtkm::worklet::scalar_topology::hierarchical_volumetric_branch_decomposer::LocalBestUpDownByVolumeWorklet< IsDown >::ControlSignature = void( WholeArrayIn actualSuperacrs, WholeArrayIn superarcList, FieldIn permutedUpDownVolume, WholeArrayIn hierarchicalTreeRegularNodeGlobalIds, WholeArrayIn hierarchicalTreeSupernodes, WholeArrayInOut bestUpDownSupernode, WholeArrayInOut bestUpDownVolume )

Control signature for the worklet.

◆ ExecutionSignature

◆ InputDomain

Constructor & Destructor Documentation

◆ LocalBestUpDownByVolumeWorklet()

Default Constructor.

Member Function Documentation

◆ operator()()

template<bool IsDown>
template<typename InFieldPortalType1 , typename InFieldPortalType2 , typename InFieldPortalType3 , typename InFieldPortalType4 , typename OutFieldPortalType1 , typename OutFieldPortalType2 >
VTKM_EXEC void vtkm::worklet::scalar_topology::hierarchical_volumetric_branch_decomposer::LocalBestUpDownByVolumeWorklet< IsDown >::operator() ( const vtkm::Id actualSuperarcIndex,
const InFieldPortalType1 &  actualSuperarcsPortal,
const InFieldPortalType2 &  superarcListPortal,
const vtkm::Id upDownVolumeValue,
const InFieldPortalType3 &  hierarchicalTreeRegularNodeGlobalIdsPortal,
const InFieldPortalType4 &  hierarchicalTreeSupernodesPortal,
const OutFieldPortalType1 &  bestUpDownSupernodePortal,
const OutFieldPortalType2 &  bestUpDownVolumePortal 
) const
inline

operator() of the workelt

Member Data Documentation

◆ NumberActualSuperarcs


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