From 85ba3d69d67bdab922849f8da6c47d9d17c9bebc Mon Sep 17 00:00:00 2001 From: Jacques Franc <49998870+jafranc@users.noreply.github.com> Date: Wed, 2 Sep 2026 05:24:54 -0700 Subject: [PATCH] demote null area from error to warning for pinched cells to run --- src/coreComponents/mesh/utilities/ComputationalGeometry.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreComponents/mesh/utilities/ComputationalGeometry.hpp b/src/coreComponents/mesh/utilities/ComputationalGeometry.hpp index b42090eb5e6..7d81c30bf9c 100644 --- a/src/coreComponents/mesh/utilities/ComputationalGeometry.hpp +++ b/src/coreComponents/mesh/utilities/ComputationalGeometry.hpp @@ -291,9 +291,9 @@ real64 centroid_3DPolygon( arraySlice1d< localIndex const > const pointsIndices, GEOS_LOG_RANK( "Points: " << points[ pointsIndices[ a ] ] << " " << pointsIndices[ a ] ); } #if defined(GEOS_DEVICE_COMPILE) - GEOS_ERROR( "Null area found" ); + GEOS_WARNING( "Null area found - ok in case of pinched cell" ); #else - GEOS_ERROR( GEOS_FMT( "Null area found : {}", area ) ); + GEOS_WARNING( GEOS_FMT( "Null area found : {} - ok in case of pinched cell", area ) ); #endif return 0.0;