VTK-m  2.2
Pathline.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_Pathline_h
12 #define vtk_m_filter_flow_Pathline_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 Pathline;
30 
31 template <>
33 {
35  using TerminationType = vtkm::worklet::flow::NormalTermination;
36  using AnalysisType = vtkm::worklet::flow::StreamlineAnalysis<ParticleType>;
38  using FieldType = vtkm::worklet::flow::VelocityField<ArrayType>;
39 };
40 
51 {
52 public:
58 
59  VTKM_CONT FieldType GetField(const vtkm::cont::DataSet& data) const;
60 
61  VTKM_CONT TerminationType GetTermination(const vtkm::cont::DataSet& data) const;
62 
63  VTKM_CONT AnalysisType GetAnalysis(const vtkm::cont::DataSet& data) const;
64 };
65 
66 }
67 }
68 } // namespace vtkm::filter::flow
69 
70 #endif // vtk_m_filter_flow_Pathline_h
vtkm::cont::ArrayHandle
Manages an array-worth of data.
Definition: ArrayHandle.h:300
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::filter::flow::Pathline::TerminationType
typename FlowTraits< Pathline >::TerminationType TerminationType
Definition: Pathline.h:54
vtkm::filter::flow::Pathline::FieldType
typename FlowTraits< Pathline >::FieldType FieldType
Definition: Pathline.h:57
vtkm::Particle
Definition: Particle.h:90
vtkm::filter::flow::FlowTraits
Definition: FilterParticleAdvectionSteadyState.h:26
vtkm::filter::flow::Pathline
Advect particles in a time-varying vector field and display the path they take.
Definition: Pathline.h:49
vtkm::cont::DataSet
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
vtkm::filter::flow::FlowTraits< Pathline >::FieldType
vtkm::worklet::flow::VelocityField< ArrayType > FieldType
Definition: Pathline.h:38
vtkm::filter::flow::Pathline::ParticleType
typename FlowTraits< Pathline >::ParticleType ParticleType
Definition: Pathline.h:53
vtkm::filter::flow::Pathline::ArrayType
typename FlowTraits< Pathline >::ArrayType ArrayType
Definition: Pathline.h:56
vtkm::filter::flow::FlowTraits< Pathline >::AnalysisType
vtkm::worklet::flow::StreamlineAnalysis< ParticleType > AnalysisType
Definition: Pathline.h:36
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
VTKM_FILTER_FLOW_EXPORT
#define VTKM_FILTER_FLOW_EXPORT
Definition: vtkm_filter_flow_export.h:44
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::Pathline::AnalysisType
typename FlowTraits< Pathline >::AnalysisType AnalysisType
Definition: Pathline.h:55
vtkm::filter::flow::FlowTraits< Pathline >::TerminationType
vtkm::worklet::flow::NormalTermination TerminationType
Definition: Pathline.h:35
FlowTypes.h
FilterParticleAdvectionUnsteadyState.h