Go to the documentation of this file.
19 #ifndef viskores_filter_vector_analysis_Gradient_h
20 #define viskores_filter_vector_analysis_Gradient_h
29 namespace vector_analysis
114 bool ComputePointGradient =
false;
115 bool ComputeDivergence =
false;
116 bool ComputeVorticity =
false;
117 bool ComputeQCriterion =
false;
118 bool StoreGradient =
true;
119 bool RowOrdering =
true;
121 std::string DivergenceName =
"Divergence";
122 std::string GradientsName =
"Gradients";
123 std::string QCriterionName =
"QCriterion";
124 std::string VorticityName =
"Vorticity";
131 #endif // viskores_filter_vector_analysis_Gradient_h
void SetRowMajorOrdering()
Make the vector gradient output format be in C Row-major order.
Definition: Gradient.h:109
Contains and manages the geometric data structures that Viskores operates on.
Definition: DataSet.h:66
void SetDivergenceName(const std::string &name)
When SetComputeDivergence() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:62
void SetComputeVorticity(bool enable)
Add voriticity/curl field to the output data.
Definition: Gradient.h:68
bool GetComputeVorticity() const
Add voriticity/curl field to the output data.
Definition: Gradient.h:70
Base class for all filters.
Definition: Filter.h:171
bool GetComputeGradient() const
Add gradient field to the output data.
Definition: Gradient.h:97
A general filter for gradient estimation.
Definition: Gradient.h:42
const std::string & GetVorticityName() const
When SetComputeVorticity() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:76
const std::string & GetDivergenceName() const
When SetComputeDivergence() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:64
Groups connected points that have the same field value.
Definition: Atomic.h:27
const std::string & GetQCriterionName() const
When SetComputeQCriterion() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:88
bool GetComputeQCriterion() const
Add Q-criterion field to the output data.
Definition: Gradient.h:82
void SetColumnMajorOrdering()
Make the vector gradient output format be in FORTRAN Column-major order.
Definition: Gradient.h:104
void SetComputePointGradient(bool enable)
Specify whether to compute gradients.
Definition: Gradient.h:50
void SetVorticityName(const std::string &name)
When SetComputeVorticity() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:74
void SetComputeGradient(bool enable)
Add gradient field to the output data.
Definition: Gradient.h:95
bool GetComputeDivergence() const
Add divergence field to the output data.
Definition: Gradient.h:58
bool GetComputePointGradient() const
Specify whether to compute gradients.
Definition: Gradient.h:52
void SetQCriterionName(const std::string &name)
When SetComputeQCriterion() is enabled, the result is stored in a field of this name.
Definition: Gradient.h:86
void SetComputeDivergence(bool enable)
Add divergence field to the output data.
Definition: Gradient.h:56
void SetComputeQCriterion(bool enable)
Add Q-criterion field to the output data.
Definition: Gradient.h:80