Go to the documentation of this file.
19 #ifndef viskores_filter_flow_LagrangianStructures_h
20 #define viskores_filter_flow_LagrangianStructures_h
68 this->AdvectionTime = advectionTime;
90 this->AuxiliaryDims = auxiliaryDims;
114 this->FlowMapOutput = flowMap;
119 return this->FlowMapOutput;
128 std::string OutputFieldName =
"FTLE";
131 bool UseAuxiliaryGrid =
false;
132 bool UseFlowMapOutput =
false;
139 #endif // viskores_filter_flow_LagrangianStructures_h
void SetAuxiliaryGridDimensions(viskores::Id3 auxiliaryDims)
Specify the dimensions of the auxiliary grid for FTLE calculation.
Definition: LagrangianStructures.h:88
Contains and manages the geometric data structures that Viskores operates on.
Definition: DataSet.h:66
void SetStepSize(viskores::FloatDefault s)
Specifies the step size used for the numerical integrator.
Definition: LagrangianStructures.h:51
viskores::FloatDefault GetStepSize()
Specifies the step size used for the numerical integrator.
Definition: LagrangianStructures.h:53
std::string GetOutputFieldName()
Specify the name of the output field in the data set returned.
Definition: LagrangianStructures.h:109
Base class for all filters.
Definition: Filter.h:171
bool CanThread() const override
Returns whether the filter can execute on partitions in concurrent threads.
Definition: LagrangianStructures.h:43
bool GetUseFlowMapOutput()
Specify whether to use flow maps instead of advection.
Definition: LagrangianStructures.h:102
Manages an array-worth of data.
Definition: ArrayHandle.h:313
void SetNumberOfSteps(viskores::Id n)
Specify the maximum number of steps each particle is allowed to traverse.
Definition: LagrangianStructures.h:58
viskores::Id3 GetAuxiliaryGridDimensions()
Specify the dimensions of the auxiliary grid for FTLE calculation.
Definition: LagrangianStructures.h:93
viskores::cont::ArrayHandle< viskores::Vec3f > GetFlowMapOutput()
Specify the array representing the flow map output to be used for FTLE calculation.
Definition: LagrangianStructures.h:117
void SetUseFlowMapOutput(bool useFlowMapOutput)
Specify whether to use flow maps instead of advection.
Definition: LagrangianStructures.h:100
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
viskores::cont::ArrayHandle< viskores::Vec3f > FlowMapOutput
Definition: LagrangianStructures.h:127
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores::FloatDefault AdvectionTime
Definition: LagrangianStructures.h:125
void SetAdvectionTime(viskores::FloatDefault advectionTime)
Specify the time interval for the advection.
Definition: LagrangianStructures.h:66
Compute the finite time Lyapunov exponent (FTLE) of a vector field.
Definition: LagrangianStructures.h:39
viskores::FloatDefault GetAdvectionTime()
Specify the time interval for the advection.
Definition: LagrangianStructures.h:71
viskores::Float32 FloatDefault
The floating point type to use when no other precision is specified.
Definition: Types.h:244
bool GetUseAuxiliaryGrid()
Specify whether to use an auxiliary grid.
Definition: LagrangianStructures.h:82
viskores::Id GetNumberOfSteps()
Specify the maximum number of steps each particle is allowed to traverse.
Definition: LagrangianStructures.h:60
viskores::Id3 AuxiliaryDims
Definition: LagrangianStructures.h:126
void SetOutputFieldName(std::string outputFieldName)
Specify the name of the output field in the data set returned.
Definition: LagrangianStructures.h:107
void SetFlowMapOutput(viskores::cont::ArrayHandle< viskores::Vec3f > &flowMap)
Specify the array representing the flow map output to be used for FTLE calculation.
Definition: LagrangianStructures.h:112
void SetUseAuxiliaryGrid(bool useAuxiliaryGrid)
Specify whether to use an auxiliary grid.
Definition: LagrangianStructures.h:80