diff options
author | 2022-06-02 23:43:53 +0200 | |
---|---|---|
committer | 2022-06-02 14:43:53 -0700 | |
commit | 57564a09f01a13b315447d7ab942ddd18d1281af (patch) | |
tree | 60f8baf45df96160b05717c2c46298e1d82b85ff /Source/main.cpp | |
parent | 81619e11b45c6621553e96601682c531c3cc49a3 (diff) | |
download | WarpX-57564a09f01a13b315447d7ab942ddd18d1281af.tar.gz WarpX-57564a09f01a13b315447d7ab942ddd18d1281af.tar.zst WarpX-57564a09f01a13b315447d7ab942ddd18d1281af.zip |
Move warning logger in ablastr (#3154)
* initial work to move the Warning Logger into ablastr
* progress with warn manager class
* moved Warning Logger in ablastr
* fixed bugs
* Fix: `SpectralFieldDataRZ.cpp`
Missing include for `WarpX::getCosts(lev);`
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/main.cpp')
-rw-r--r-- | Source/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/main.cpp b/Source/main.cpp index 5587d4f93..dc1a00e8b 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -13,6 +13,8 @@ #include "Utils/WarpXUtil.H" #include "Utils/WarpXProfilerWrapper.H" +#include <ablastr/warn_manager/WarnManager.H> + #include <AMReX.H> #include <AMReX_Config.H> #include <AMReX_ParallelDescriptor.H> @@ -64,7 +66,8 @@ int main(int argc, char* argv[]) warpx.Evolve(); - warpx.PrintGlobalWarnings("THE END"); //Print warning messages at the end of the simulation + //Print warning messages at the end of the simulation + ablastr::warn_manager::GetWMInstance().PrintGlobalWarnings("THE END"); if (warpx.Verbose()) { auto end_total = static_cast<Real>(amrex::second()) - strt_total; |