Go to the documentation of this file.
51 #ifndef vtkm_worklet_cosmotools_compute_neighbor_bins_h
52 #define vtkm_worklet_cosmotools_compute_neighbor_bins_h
70 WholeArrayOut leftNeighbor);
87 template <
typename OutFieldPortalType>
90 OutFieldPortalType& leftNeighbor)
const
97 for (
vtkm::Id z = zbin - 1; z <= zbin + 1; z++)
99 for (
vtkm::Id y = ybin - 1; y <= ybin + 1; y++)
101 if ((y >= 0) && (y <
yNum) && (z >= 0) && (z <
zNum))
#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