From 472f823bd6fa13f5b2b35053fe81d5c45f73244c Mon Sep 17 00:00:00 2001 From: Roy Stogner Date: Thu, 6 Aug 2026 16:46:39 -0500 Subject: [PATCH] Add logging to MeshModification::all_* These didn't turn out to be bad in my case but they're worth keeping an eye on. --- src/mesh/mesh_modification.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesh/mesh_modification.C b/src/mesh/mesh_modification.C index 929bbff722..c125e4b17c 100644 --- a/src/mesh/mesh_modification.C +++ b/src/mesh/mesh_modification.C @@ -448,6 +448,8 @@ void MeshTools::Modification::scale (MeshBase & mesh, void MeshTools::Modification::all_tri (MeshBase & mesh) { + LOG_SCOPE("all_tri()", "MeshTools::Modification"); + if (!mesh.is_replicated() && !mesh.is_prepared()) mesh.prepare_for_use(); @@ -1547,6 +1549,8 @@ void MeshTools::Modification::all_tri (MeshBase & mesh) void MeshTools::Modification::all_rbb (MeshBase & mesh) { + LOG_SCOPE("all_rbb()", "MeshTools::Modification"); + // By default, use 1.0 as the weight on every RATIONAL_BERNSTEIN // mapped node const Real default_weight = 1.0;