VTK-m
2.0
|
Worklet used in HierarchicalAugmenter::CopyBaseRegularStructure for finding the superparent for each node needed. More...
#include <LocalBestUpDownByVolumeBestUpDownEdgeWorklet.h>
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 |
Worklet used in HierarchicalAugmenter::CopyBaseRegularStructure for finding the superparent for each node needed.
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.
using vtkm::worklet::scalar_topology::hierarchical_volumetric_branch_decomposer::LocalBestUpDownByVolumeBestUpDownEdgeWorklet::ExecutionSignature = void(_1, _2, _3, _4, _5) |
|
inline |
Default Constructor.
|
inline |
operator() of the workelt
|
private |