Go to the documentation of this file.
51 #ifndef vtkm_worklet_cosmotools_is_star_h
52 #define vtkm_worklet_cosmotools_is_star_h
69 WholeArrayInOut haloIdCurrent,
70 WholeArrayInOut haloIdLast,
71 WholeArrayInOut rootedStar);
79 template <
typename InPortalType,
typename InPortalType2>
81 const InPortalType& haloIdCurrent,
82 const InPortalType& haloIdLast,
83 InPortalType2& rootedStar)
const
86 vtkm::Id ddValue = haloIdCurrent.Get(dValue);
87 if (dValue != ddValue)
89 rootedStar.Set(dValue,
false);
90 rootedStar.Set(ddValue,
false);
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
A control signature tag for input fields.
Definition: WorkletMapField.h:49
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38