Go to the documentation of this file.
63 #ifndef vtk_m_worklet_contourtree_augmented_contourtree_mesh_inc_copy_into_combined_array_worklet_h
64 #define vtk_m_worklet_contourtree_augmented_contourtree_mesh_inc_copy_into_combined_array_worklet_h
75 namespace contourtree_augmented
77 namespace mesh_dem_contourtree_mesh_inc
80 template <
bool useLowerBound>
85 WholeArrayIn otherArray,
86 ExecObject comparisonFunctor,
87 WholeArrayOut resultArray);
91 template <
typename InputType,
92 typename InputArrayPortalType,
93 typename ComparisonFunctorType,
94 typename OutputArrayPortalType>
97 const InputArrayPortalType& otherArrayPortal,
98 const ComparisonFunctorType& comparisonFunctor,
99 OutputArrayPortalType& resultArrayPortal)
const
114 resultArrayPortal.Set(idx + posInOther, value);
void ControlSignature(FieldIn thisArray, WholeArrayIn otherArray, ExecObject comparisonFunctor, WholeArrayOut resultArray)
Definition: CopyIntoCombinedArrayWorklet.h:84
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC_CONT IterT UpperBound(IterT first, IterT last, const T &val, Comp comp)
Implementation of std::upper_bound that is appropriate for both control and execution environments.
Definition: UpperBound.h:30
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
Definition: CopyIntoCombinedArrayWorklet.h:81
void ExecutionSignature(_1, InputIndex, _2, _3, _4)
Definition: CopyIntoCombinedArrayWorklet.h:88
A control signature tag for input fields.
Definition: WorkletMapField.h:49
_1 InputDomain
Definition: CopyIntoCombinedArrayWorklet.h:89
VTKM_EXEC void operator()(const InputType &value, vtkm::Id idx, const InputArrayPortalType &otherArrayPortal, const ComparisonFunctorType &comparisonFunctor, OutputArrayPortalType &resultArrayPortal) const
Definition: CopyIntoCombinedArrayWorklet.h:95
VTKM_EXEC_CONT IterT LowerBound(IterT first, IterT last, const T &val, Comp comp)
Implementation of std::lower_bound that is appropriate for both control and execution environments.
Definition: LowerBound.h:30
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38