From a272a8d420d3370de0ffa485394854759a3378a3 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Mon, 18 Dec 2023 20:22:46 +0100 Subject: [PATCH] Init debugparam write_mesh_on_error with env variable NG_WRITE_MESH_ON_ERROR --- libsrc/meshing/meshtype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/meshtype.cpp b/libsrc/meshing/meshtype.cpp index 27c99707..c082e767 100644 --- a/libsrc/meshing/meshtype.cpp +++ b/libsrc/meshing/meshtype.cpp @@ -2973,7 +2973,7 @@ namespace netgen haltsegment = 0; haltsegmentp1 = 0; haltsegmentp2 = 0; - write_mesh_on_error = false; + write_mesh_on_error = getenv("NG_WRITE_MESH_ON_ERROR"); };