Go to the documentation of this file.
11 #ifndef vtk_m_filter_flow_worklet_TemporalGridEvaluators_h
12 #define vtk_m_filter_flow_worklet_TemporalGridEvaluators_h
24 template <
typename FieldType>
42 :
EvaluatorOne(evaluatorOne.PrepareForExecution(device, token))
43 ,
EvaluatorTwo(evaluatorTwo.PrepareForExecution(device, token))
50 template <
typename Po
int>
72 template <
typename Po
int>
115 template <
typename FieldType>
126 const FieldType& field1,
129 const FieldType& field2)
152 const FieldType& fieldOne,
156 const FieldType& fieldTwo,
184 #endif // vtk_m_filter_flow_worklet_TemporalGridEvaluators_h
VTKM_CONT TemporalGridEvaluator(const vtkm::cont::DataSet &ds1, const vtkm::FloatDefault t1, const FieldType &field1, const vtkm::cont::DataSet &ds2, const vtkm::FloatDefault t2, const FieldType &field2)
Definition: TemporalGridEvaluators.h:124
VTKM_CONT TemporalGridEvaluator(const vtkm::cont::CoordinateSystem &coordinatesOne, const vtkm::cont::UnknownCellSet &cellsetOne, const FieldType &fieldOne, const vtkm::FloatDefault timeOne, const vtkm::cont::CoordinateSystem &coordinatesTwo, const vtkm::cont::UnknownCellSet &cellsetTwo, const FieldType &fieldTwo, const vtkm::FloatDefault timeTwo)
Definition: TemporalGridEvaluators.h:150
VTKM_CONT TemporalGridEvaluator()=default
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC bool IsWithinSpatialBoundary(const Point point) const
Definition: TemporalGridEvaluators.h:51
Definition: GridEvaluators.h:161
#define VTKM_ASSERT(condition)
Definition: Assert.h:43
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
VTKM_EXEC vtkm::Bounds GetSpatialBoundary() const
Definition: GridEvaluators.h:78
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
VTKM_EXEC_CONT bool CheckFail() const
Definition: GridEvaluatorStatus.h:39
VTKM_EXEC vtkm::Bounds GetSpatialBoundary() const
Definition: TemporalGridEvaluators.h:64
VTKM_EXEC_CONT vtkm::FloatDefault GetTemporalBoundary(vtkm::Id direction) const
Definition: TemporalGridEvaluators.h:67
A CellSet of an unknown type.
Definition: UnknownCellSet.h:48
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
vtkm::FloatDefault TimeDiff
Definition: TemporalGridEvaluators.h:112
VTKM_EXEC GridEvaluatorStatus Evaluate(const Point &point, const vtkm::FloatDefault &time, vtkm::VecVariable< Point, 2 > &out) const
Definition: GridEvaluators.h:89
GridEvaluator EvaluatorTwo
Definition: TemporalGridEvaluators.h:175
Definition: CoordinateSystem.h:25
VTKM_EXEC bool IsWithinTemporalBoundary(const vtkm::FloatDefault time) const
Definition: TemporalGridEvaluators.h:58
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
vtkm::FloatDefault TimeOne
Definition: TemporalGridEvaluators.h:176
VTKM_EXEC_CONT vtkm::IdComponent GetNumberOfComponents() const
Definition: VecVariable.h:53
Definition: TemporalGridEvaluators.h:116
VTKM_CONT TemporalGridEvaluator(GridEvaluator &evaluatorOne, const vtkm::FloatDefault timeOne, GridEvaluator &evaluatorTwo, const vtkm::FloatDefault timeTwo)
Definition: TemporalGridEvaluators.h:139
VTKM_EXEC_CONT void Append(ComponentType value)
Definition: VecVariable.h:80
A short variable-length array with maximum length.
Definition: VecVariable.h:30
vtkm::FloatDefault TimeTwo
Definition: TemporalGridEvaluators.h:177
#define VTKM_CONT
Definition: ExportMacros.h:57
Represent an axis-aligned 3D bounds in space.
Definition: Bounds.h:29
GridEvaluator EvaluatorOne
Definition: TemporalGridEvaluators.h:174
VTKM_EXEC_CONT ValueType Lerp(const ValueType &value0, const ValueType &value1, const WeightType &weight)
Returns the linear interpolation of two values based on weight.
Definition: VectorAnalysis.h:32
Base ExecutionObjectBase for execution objects to inherit from so that you can use an arbitrary objec...
Definition: ExecutionObjectBase.h:31
Definition: DeviceAdapterTag.h:52
VTKM_EXEC_CONT void SetFail()
Definition: GridEvaluatorStatus.h:38
ExecutionGridEvaluator EvaluatorTwo
Definition: TemporalGridEvaluators.h:109
vtkm::Float32 FloatDefault
The floating point type to use when no other precision is specified.
Definition: Types.h:198
VTKM_CONT ExecutionTemporalGridEvaluator()=default
VTKM_EXEC_CONT void SetOk()
Definition: GridEvaluatorStatus.h:35
VTKM_EXEC_CONT void SetTemporalBounds()
Definition: GridEvaluatorStatus.h:44
VTKM_CONT ExecutionTemporalGridEvaluator< FieldType > PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Definition: TemporalGridEvaluators.h:165
ExecutionGridEvaluator EvaluatorOne
Definition: TemporalGridEvaluators.h:108
VTKM_EXEC GridEvaluatorStatus Evaluate(const Point &particle, vtkm::FloatDefault time, vtkm::VecVariable< Point, 2 > &out) const
Definition: TemporalGridEvaluators.h:73
VTKM_CONT ExecutionTemporalGridEvaluator(const GridEvaluator &evaluatorOne, const vtkm::FloatDefault timeOne, const GridEvaluator &evaluatorTwo, const vtkm::FloatDefault timeTwo, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
Definition: TemporalGridEvaluators.h:36
Definition: TemporalGridEvaluators.h:25
VTKM_EXEC bool IsWithinSpatialBoundary(const Point &point) const
Definition: GridEvaluators.h:61
vtkm::FloatDefault TimeTwo
Definition: TemporalGridEvaluators.h:111
vtkm::FloatDefault TimeOne
Definition: TemporalGridEvaluators.h:110
Definition: GridEvaluators.h:35
Definition: GridEvaluatorStatus.h:23