Go to the documentation of this file.
11 #ifndef vtk_m_filter_vector_analysis_Gradient_h
12 #define vtk_m_filter_vector_analysis_Gradient_h
21 namespace vector_analysis
106 bool ComputePointGradient =
false;
107 bool ComputeDivergence =
false;
108 bool ComputeVorticity =
false;
109 bool ComputeQCriterion =
false;
110 bool StoreGradient =
true;
111 bool RowOrdering =
true;
113 std::string DivergenceName =
"Divergence";
114 std::string GradientsName =
"Gradients";
115 std::string QCriterionName =
"QCriterion";
116 std::string VorticityName =
"Vorticity";
123 #endif // vtk_m_filter_vector_analysis_Gradient_h
Groups connected points that have the same field value.
Definition: Atomic.h:19
bool GetComputeDivergence() const
Add divergence field to the output data.
Definition: Gradient.h:50
const std::string & GetDivergenceName() const
When SetComputeDivergence() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:56
void SetQCriterionName(const std::string &name)
When SetComputeQCriterion() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:78
void SetComputeDivergence(bool enable)
Add divergence field to the output data.
Definition: Gradient.h:48
void SetComputeQCriterion(bool enable)
Add Q-criterion field to the output data.
Definition: Gradient.h:72
void SetComputeVorticity(bool enable)
Add voriticity/curl field to the output data.
Definition: Gradient.h:60
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
A general filter for gradient estimation.
Definition: Gradient.h:34
const std::string & GetQCriterionName() const
When SetComputeQCriterion() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:80
#define VTKM_FILTER_VECTOR_ANALYSIS_EXPORT
Definition: vtkm_filter_vector_analysis_export.h:44
void SetVorticityName(const std::string &name)
When SetComputeVorticity() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:66
void SetComputePointGradient(bool enable)
Specify whether to compute gradients.
Definition: Gradient.h:42
bool GetComputeVorticity() const
Add voriticity/curl field to the output data.
Definition: Gradient.h:62
bool GetComputeQCriterion() const
Add Q-criterion field to the output data.
Definition: Gradient.h:74
void SetComputeGradient(bool enable)
Add gradient field to the output data.
Definition: Gradient.h:87
Base class for all filters.
Definition: Filter.h:163
bool GetComputePointGradient() const
Specify whether to compute gradients.
Definition: Gradient.h:44
bool GetComputeGradient() const
Add gradient field to the output data.
Definition: Gradient.h:89
void SetDivergenceName(const std::string &name)
When SetComputeDivergence() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:54
void SetRowMajorOrdering()
Make the vector gradient output format be in C Row-major order.
Definition: Gradient.h:101
void SetColumnMajorOrdering()
Make the vector gradient output format be in FORTRAN Column-major order.
Definition: Gradient.h:96
const std::string & GetVorticityName() const
When SetComputeVorticity() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:68