mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #8402 from OPM/8401-flow-vector-result
#8401 Flow Vector Result: Handle empty results for first time step Use OpenMP for vector calculations Janitor: Use field of double instead of float to avoid rounding errors. If float is used in field, the current editor is has rounding effects that makes the text representation of 0.1 turn into 0.09999999....
This commit is contained in:
@@ -77,8 +77,8 @@ public:
|
||||
bool showVectorK() const;
|
||||
bool showNncData() const;
|
||||
VectorSurfaceCrossingLocation vectorSuraceCrossingLocation() const;
|
||||
float threshold() const;
|
||||
float sizeScale() const;
|
||||
double threshold() const;
|
||||
double sizeScale() const;
|
||||
TensorColors vectorColors() const;
|
||||
|
||||
const cvf::Color3f& getUniformVectorColor() const;
|
||||
@@ -108,10 +108,10 @@ private:
|
||||
caf::PdmField<bool> m_showVectorK;
|
||||
caf::PdmField<bool> m_showNncData;
|
||||
caf::PdmField<caf::AppEnum<VectorSurfaceCrossingLocation>> m_vectorSurfaceCrossingLocation;
|
||||
caf::PdmField<float> m_threshold;
|
||||
caf::PdmField<double> m_threshold;
|
||||
caf::PdmField<caf::AppEnum<TensorColors>> m_vectorColor;
|
||||
caf::PdmField<cvf::Color3f> m_uniformVectorColor;
|
||||
caf::PdmField<float> m_sizeScale;
|
||||
caf::PdmField<double> m_sizeScale;
|
||||
caf::PdmField<RimRegularLegendConfig::RangeModeEnum> m_rangeMode;
|
||||
caf::PdmChildField<RimRegularLegendConfig*> m_legendConfig;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user