aboutsummaryrefslogtreecommitdiff
path: root/Source/Evolve/WarpXEvolve.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Evolve/WarpXEvolve.cpp')
-rw-r--r--Source/Evolve/WarpXEvolve.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Evolve/WarpXEvolve.cpp b/Source/Evolve/WarpXEvolve.cpp
index 4c7eec664..f150d5098 100644
--- a/Source/Evolve/WarpXEvolve.cpp
+++ b/Source/Evolve/WarpXEvolve.cpp
@@ -34,6 +34,7 @@
#include "Utils/WarpXUtil.H"
#include <ablastr/utils/SignalHandling.H>
+#include <ablastr/warn_manager/WarnManager.H>
#include <AMReX.H>
#include <AMReX_Array.H>
@@ -342,7 +343,10 @@ WarpX::Evolve (int numsteps)
if (!early_params_checked) {
amrex::Print() << "\n"; // better: conditional \n based on return value
amrex::ParmParse().QueryUnusedInputs();
- this->PrintGlobalWarnings("FIRST STEP"); //Print the warning list right after the first step.
+
+ //Print the warning list right after the first step.
+ amrex::Print() <<
+ ablastr::warn_manager::GetWMInstance().PrintGlobalWarnings("FIRST STEP");
early_params_checked = true;
}