VTK-m  2.2
PathParticle.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 
11 #ifndef vtk_m_filter_flow_PathParticle_h
12 #define vtk_m_filter_flow_PathParticle_h
13 
17 
18 #include <vtkm/filter/flow/worklet/Analysis.h>
19 #include <vtkm/filter/flow/worklet/Field.h>
20 #include <vtkm/filter/flow/worklet/Termination.h>
21 
22 namespace vtkm
23 {
24 namespace filter
25 {
26 namespace flow
27 {
28 
29 class PathParticle;
30 
31 template <>
33 {
35  using TerminationType = vtkm::worklet::flow::NormalTermination;
36  using AnalysisType = vtkm::worklet::flow::NoAnalysis<ParticleType>;
38  using FieldType = vtkm::worklet::flow::VelocityField<ArrayType>;
39 };
40 
42 
45 
48 {
49 public:
55 
56  VTKM_CONT FieldType GetField(const vtkm::cont::DataSet& data) const;
57 
58  VTKM_CONT TerminationType GetTermination(const vtkm::cont::DataSet& data) const;
59 
60  VTKM_CONT AnalysisType GetAnalysis(const vtkm::cont::DataSet& data) const;
61 };
62 
63 }
64 }
65 } // namespace vtkm::filter::flow
66 
67 #endif // vtk_m_filter_flow_PathParticle_h
vtkm::filter::flow::FlowTraits< PathParticle >::TerminationType
vtkm::worklet::flow::NormalTermination TerminationType
Definition: PathParticle.h:35
vtkm::cont::ArrayHandle
Manages an array-worth of data.
Definition: ArrayHandle.h:300
vtkm::filter::flow::PathParticle::AnalysisType
typename FlowTraits< PathParticle >::AnalysisType AnalysisType
Definition: PathParticle.h:52
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::Particle
Definition: Particle.h:90
vtkm::filter::flow::FlowTraits
Definition: FilterParticleAdvectionSteadyState.h:26
vtkm::cont::DataSet
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::filter::flow::PathParticle::ArrayType
typename FlowTraits< PathParticle >::ArrayType ArrayType
Definition: PathParticle.h:53
VTKM_FILTER_FLOW_EXPORT
#define VTKM_FILTER_FLOW_EXPORT
Definition: vtkm_filter_flow_export.h:44
vtkm::filter::flow::PathParticle::ParticleType
typename FlowTraits< PathParticle >::ParticleType ParticleType
Definition: PathParticle.h:50
vtkm::filter::flow::FilterParticleAdvectionUnsteadyState
Superclass for filters that operate on flow that changes over time.
Definition: FilterParticleAdvectionUnsteadyState.h:30
vtkm_filter_flow_export.h
vtkm::filter::flow::PathParticle::FieldType
typename FlowTraits< PathParticle >::FieldType FieldType
Definition: PathParticle.h:54
vtkm::filter::flow::FlowTraits< PathParticle >::AnalysisType
vtkm::worklet::flow::NoAnalysis< ParticleType > AnalysisType
Definition: PathParticle.h:36
vtkm::filter::flow::PathParticle::TerminationType
typename FlowTraits< PathParticle >::TerminationType TerminationType
Definition: PathParticle.h:51
FlowTypes.h
FilterParticleAdvectionUnsteadyState.h
vtkm::filter::flow::FlowTraits< PathParticle >::FieldType
vtkm::worklet::flow::VelocityField< ArrayType > FieldType
Definition: PathParticle.h:38
vtkm::filter::flow::PathParticle
Advect particles in a vector field.
Definition: PathParticle.h:46