From ef3b5249852569669394c7231f0b7249bc4cb263 Mon Sep 17 00:00:00 2001 From: Akash Dhruv Date: Thu, 28 Sep 2023 17:04:32 -0500 Subject: [PATCH] Update Src/AmrCore/AMReX_AmrMesh.cpp Co-authored-by: Weiqun Zhang --- Src/AmrCore/AMReX_AmrMesh.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Src/AmrCore/AMReX_AmrMesh.cpp b/Src/AmrCore/AMReX_AmrMesh.cpp index 72069a66124..85b1c9d6c54 100644 --- a/Src/AmrCore/AMReX_AmrMesh.cpp +++ b/Src/AmrCore/AMReX_AmrMesh.cpp @@ -454,8 +454,9 @@ AmrMesh::MakeDistributionMap (int lev, BoxArray const& ba) BL_PROFILE("AmrMesh::MakeDistributionMap()"); - // useful print statement to notify that a new distribution map is being created at lev - amrex::Print() << "creating new distribution map on level: " << lev + 1 << "\n"; + if (verbose) { + amrex::Print() << "Creating new distribution map on level: " << lev << "\n"; + } // initialize new distribution mapping DistributionMapping dm;