Go to the documentation of this file.
51 #ifndef vtkm_worklet_cosmotools_set_candidate_particles_h
52 #define vtkm_worklet_cosmotools_set_candidate_particles_h
73 WholeArrayOut candidate);
86 template <
typename OutPortalType>
90 const OutPortalType& candidate)
const
94 for (
vtkm::Id part = offset; part < offset + count; part++)
95 candidate.Set(part, 1);
VTKM_EXEC_CONT SetCandidateParticles(T Cutoff)
Definition: SetCandidateParticles.h:81
#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
T cutoffPotential
Definition: SetCandidateParticles.h:77
_1 InputDomain
Definition: SetCandidateParticles.h:75
Definition: SetCandidateParticles.h:65
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
void(FieldIn bestPot, FieldIn partOffset, FieldIn partCount, WholeArrayOut candidate) ControlSignature
Definition: SetCandidateParticles.h:73
A control signature tag for input fields.
Definition: WorkletMapField.h:49
VTKM_EXEC void operator()(const T &bestPot, const vtkm::Id &offset, const vtkm::Id &count, const OutPortalType &candidate) const
Definition: SetCandidateParticles.h:87
void(_1, _2, _3, _4) ExecutionSignature
Definition: SetCandidateParticles.h:74
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38