Go to the documentation of this file.
11 #ifndef vtk_m_filter_flow_LagrangianStructures_h
12 #define vtk_m_filter_flow_LagrangianStructures_h
93 void SetOutputFieldName(std::string outputFieldName) { this->OutputFieldName = outputFieldName; }
100 this->FlowMapOutput = flowMap;
111 std::string OutputFieldName =
"FTLE";
114 bool UseAuxiliaryGrid =
false;
115 bool UseFlowMapOutput =
false;
122 #endif // vtk_m_filter_flow_LagrangianStructures_h
Compute the finite time Lyapunov exponent (FTLE) of a vector field.
Definition: LagrangianStructures.h:31
Manages an array-worth of data.
Definition: ArrayHandle.h:300
vtkm::Id3 AuxiliaryDims
Definition: LagrangianStructures.h:109
Groups connected points that have the same field value.
Definition: Atomic.h:19
void SetUseAuxiliaryGrid(bool useAuxiliaryGrid)
Specify whether to use an auxiliary grid.
Definition: LagrangianStructures.h:69
void SetNumberOfSteps(vtkm::Id n)
Specify the maximum number of steps each particle is allowed to traverse.
Definition: LagrangianStructures.h:50
void SetAdvectionTime(vtkm::FloatDefault advectionTime)
Specify the time interval for the advection.
Definition: LagrangianStructures.h:58
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
vtkm::cont::ArrayHandle< vtkm::Vec3f > GetFlowMapOutput()
Specify the array representing the flow map output to be used for FTLE calculation.
Definition: LagrangianStructures.h:103
std::string GetOutputFieldName()
Specify the name of the output field in the data set returned.
Definition: LagrangianStructures.h:95
bool GetUseAuxiliaryGrid()
Specify whether to use an auxiliary grid.
Definition: LagrangianStructures.h:71
vtkm::FloatDefault GetStepSize()
Specifies the step size used for the numerical integrator.
Definition: LagrangianStructures.h:45
vtkm::Id GetNumberOfSteps()
Specify the maximum number of steps each particle is allowed to traverse.
Definition: LagrangianStructures.h:52
Base class for all filters.
Definition: Filter.h:163
vtkm::cont::ArrayHandle< vtkm::Vec3f > FlowMapOutput
Definition: LagrangianStructures.h:110
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::FloatDefault AdvectionTime
Definition: LagrangianStructures.h:108
vtkm::Int64 Id
Base type to use to index arrays.
Definition: Types.h:227
void SetOutputFieldName(std::string outputFieldName)
Specify the name of the output field in the data set returned.
Definition: LagrangianStructures.h:93
vtkm::Id3 GetAuxiliaryGridDimensions()
Specify the dimensions of the auxiliary grid for FTLE calculation.
Definition: LagrangianStructures.h:79
void SetFlowMapOutput(vtkm::cont::ArrayHandle< vtkm::Vec3f > &flowMap)
Specify the array representing the flow map output to be used for FTLE calculation.
Definition: LagrangianStructures.h:98
#define VTKM_FILTER_FLOW_EXPORT
Definition: vtkm_filter_flow_export.h:44
bool CanThread() const override
Returns whether the filter can execute on partitions in concurrent threads.
Definition: LagrangianStructures.h:35
vtkm::Float32 FloatDefault
The floating point type to use when no other precision is specified.
Definition: Types.h:236
vtkm::FloatDefault GetAdvectionTime()
Specify the time interval for the advection.
Definition: LagrangianStructures.h:60
void SetUseFlowMapOutput(bool useFlowMapOutput)
Specify whether to use flow maps instead of advection.
Definition: LagrangianStructures.h:86
bool GetUseFlowMapOutput()
Specify whether to use flow maps instead of advection.
Definition: LagrangianStructures.h:88
void SetAuxiliaryGridDimensions(vtkm::Id3 auxiliaryDims)
Specify the dimensions of the auxiliary grid for FTLE calculation.
Definition: LagrangianStructures.h:77
void SetStepSize(vtkm::FloatDefault s)
Specifies the step size used for the numerical integrator.
Definition: LagrangianStructures.h:43