Go to the documentation of this file.
11 #ifndef vtk_m_filter_flow_FilterParticleAdvection_h
12 #define vtk_m_filter_flow_FilterParticleAdvection_h
17 #include <vtkm/filter/flow/vtkm_filter_flow_export.h>
43 template <
typename ParticleType>
49 template <
typename ParticleType>
68 this->VecFieldType = vecFieldType;
89 VTKM_CONT virtual void ValidateOptions()
const;
98 bool UseThreadedAlgorithm =
false;
110 #endif // vtk_m_filter_flow_FilterParticleAdvection_h
VTKM_CONT void SetEField(const std::string &name)
Definition: FilterParticleAdvection.h:74
VTKM_CONT vtkm::cont::ArrayHandleBasic< T > make_ArrayHandle(const T *array, vtkm::Id numberOfValues, vtkm::CopyFlag copy)
A convenience function for creating an ArrayHandle from a standard C array.
Definition: ArrayHandleBasic.h:217
Groups connected points that have the same field value.
Definition: Atomic.h:19
An ArrayHandle of an unknown value type and storage.
Definition: UnknownArrayHandle.h:406
VTKM_CONT bool GetUseThreadedAlgorithm()
Definition: FilterParticleAdvection.h:83
vtkm::cont::UnknownArrayHandle Seeds
Definition: FilterParticleAdvection.h:94
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
VTKM_CONT void SetSolverRK4()
Definition: FilterParticleAdvection.h:57
Definition: FilterField.h:21
VTKM_CONT void SetSolverEuler()
Definition: FilterParticleAdvection.h:60
VTKM_CONT void SetUseThreadedAlgorithm(bool val)
Definition: FilterParticleAdvection.h:86
FlowResultType
Definition: FlowTypes.h:31
IntegrationSolverType
Definition: FlowTypes.h:19
VectorFieldType
Definition: FlowTypes.h:25
#define VTKM_CONT
Definition: ExportMacros.h:57
VTKM_CONT void SetNumberOfSteps(vtkm::Id n)
Definition: FilterParticleAdvection.h:41
base class for advecting particles in a vector field.
Definition: FilterParticleAdvection.h:31
VTKM_CONT std::string GetBField() const
Definition: FilterParticleAdvection.h:80
VTKM_CONT void SetSeeds(vtkm::cont::ArrayHandle< ParticleType > &seeds)
Definition: FilterParticleAdvection.h:44
VTKM_CONT void SetVectorFieldType(vtkm::filter::flow::VectorFieldType vecFieldType)
Definition: FilterParticleAdvection.h:66
vtkm::Float32 FloatDefault
The floating point type to use when no other precision is specified.
Definition: Types.h:198
VTKM_CONT void SetBField(const std::string &name)
Definition: FilterParticleAdvection.h:76
VTKM_CONT std::string GetEField() const
Definition: FilterParticleAdvection.h:78
VTKM_CONT void SetStepSize(vtkm::FloatDefault s)
Definition: FilterParticleAdvection.h:38
VTKM_CONT bool CanThread() const override
Definition: FilterParticleAdvection.h:35
CopyFlag
Definition: Flags.h:16
VTKM_CONT void SetSeeds(const std::vector< ParticleType > &seeds, vtkm::CopyFlag copyFlag=vtkm::CopyFlag::On)
Definition: FilterParticleAdvection.h:50