#8409 NNC : Make sure NNC flow vector directions are stable

This commit is contained in:
Magne Sjaastad
2022-01-05 15:27:26 +01:00
parent d578771a40
commit 0cb7a157c9
2 changed files with 42 additions and 7 deletions

View File

@@ -54,11 +54,16 @@ public:
private:
struct ElementVectorResultVisualization
{
ElementVectorResultVisualization( cvf::Vec3d faceCenter, cvf::Vec3d faceNormal, double result, double approximateCellLength )
ElementVectorResultVisualization( cvf::Vec3d faceCenter,
cvf::Vec3d faceNormal,
double result,
double approximateCellLength,
bool centerArrow )
: faceCenter( faceCenter )
, faceNormal( faceNormal )
, result( result )
, approximateCellLength( approximateCellLength )
, centerArrow( centerArrow )
{
}
@@ -66,6 +71,7 @@ private:
cvf::Vec3f faceNormal;
double result;
double approximateCellLength;
bool centerArrow;
};
private: