Some clean up and fixes

This commit is contained in:
jonjenssen
2024-10-25 03:09:24 +02:00
committed by jonjenssen
parent 78d82acb41
commit db66ec82de
7 changed files with 58 additions and 33 deletions

View File

@@ -335,6 +335,7 @@ cvf::Vec3d RigCell::faceNormalWithAreaLength( cvf::StructGridInterface::FaceType
//--------------------------------------------------------------------------------------------------
double RigCell::volume() const
{
if ( m_isInvalid ) return 0.0;
const std::vector<cvf::Vec3d>& nodeCoords = m_hostGrid->mainGrid()->nodes();
std::array<cvf::Vec3d, 8> hexCorners;