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

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

#include <LocalBestUpDownByVolumeBestUpDownEdgeWorklet.h>

Inheritance diagram for vtkm::worklet::scalar_topology::hierarchical_volumetric_branch_decomposer::LocalBestUpDownByVolumeBestUpDownEdgeWorklet:
vtkm::worklet::WorkletMapField vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(FieldIn permutedHierarchicalTreeSuperarcs, FieldIn permutedDependetValues, FieldIn permutedIntrinsicValues, FieldOut permutedUpVolume, FieldOut permitedDownVolume)
 Control signature for the worklet NOTE: We require the input arrays (aside form the input domain) to be permutted by the regularNodesNeeded input domain so that we can use FieldIn instead of WholeArrayIn NOTE: We require ArrayHandleView for the output arrays of the range [numExistingRegular:end] so that we can use FieldOut instead of requiring WholeArrayInOut. More...
 
using ExecutionSignature = void(_1, _2, _3, _4, _5)
 
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 LocalBestUpDownByVolumeBestUpDownEdgeWorklet (const vtkm::Id totalVolume)
 Default Constructor. More...
 
template<typename FieldType >
VTKM_EXEC void operator() (const vtkm::Id &hierarchicalTreeSuperarc, const FieldType &dependentValue, const FieldType &intrinsicValue, vtkm::Id &upVolume, vtkm::Id &downVolume) const
 operator() of the workelt More...
 

Private Attributes

vtkm::Id TotalVolume
 

Detailed Description

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

Member Typedef Documentation

◆ ControlSignature

using vtkm::worklet::scalar_topology::hierarchical_volumetric_branch_decomposer::LocalBestUpDownByVolumeBestUpDownEdgeWorklet::ControlSignature = void( FieldIn permutedHierarchicalTreeSuperarcs, FieldIn permutedDependetValues, FieldIn permutedIntrinsicValues, FieldOut permutedUpVolume, FieldOut permitedDownVolume )

Control signature for the worklet NOTE: We require the input arrays (aside form the input domain) to be permutted by the regularNodesNeeded input domain so that we can use FieldIn instead of WholeArrayIn NOTE: We require ArrayHandleView for the output arrays of the range [numExistingRegular:end] so that we can use FieldOut instead of requiring WholeArrayInOut.

◆ ExecutionSignature

◆ InputDomain

Constructor & Destructor Documentation

◆ LocalBestUpDownByVolumeBestUpDownEdgeWorklet()

VTKM_EXEC_CONT vtkm::worklet::scalar_topology::hierarchical_volumetric_branch_decomposer::LocalBestUpDownByVolumeBestUpDownEdgeWorklet::LocalBestUpDownByVolumeBestUpDownEdgeWorklet ( const vtkm::Id  totalVolume)
inline

Default Constructor.

Member Function Documentation

◆ operator()()

template<typename FieldType >
VTKM_EXEC void vtkm::worklet::scalar_topology::hierarchical_volumetric_branch_decomposer::LocalBestUpDownByVolumeBestUpDownEdgeWorklet::operator() ( const vtkm::Id hierarchicalTreeSuperarc,
const FieldType &  dependentValue,
const FieldType &  intrinsicValue,
vtkm::Id upVolume,
vtkm::Id downVolume 
) const
inline

operator() of the workelt

Member Data Documentation

◆ TotalVolume

vtkm::Id vtkm::worklet::scalar_topology::hierarchical_volumetric_branch_decomposer::LocalBestUpDownByVolumeBestUpDownEdgeWorklet::TotalVolume
private

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