diff options
Diffstat (limited to 'Source/Particles/Resampling/LevelingThinning.cpp')
-rw-r--r-- | Source/Particles/Resampling/LevelingThinning.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Particles/Resampling/LevelingThinning.cpp b/Source/Particles/Resampling/LevelingThinning.cpp index 842c28884..cf9ca9ba9 100644 --- a/Source/Particles/Resampling/LevelingThinning.cpp +++ b/Source/Particles/Resampling/LevelingThinning.cpp @@ -10,7 +10,8 @@ #include "Utils/ParticleUtils.H" #include "Utils/TextMsg.H" #include "Utils/WarpXUtil.H" -#include "WarpX.H" + +#include <ablastr/warn_manager/WarnManager.H> #include <AMReX.H> #include <AMReX_BLassert.H> @@ -38,7 +39,7 @@ LevelingThinning::LevelingThinning (const std::string species_name) "Resampling target ratio should be strictly greater than 0"); if (m_target_ratio <= 1._rt) { - WarpX::GetInstance().RecordWarning("Species", + ablastr::warn_manager::WMRecordWarning("Species", "For species '" + species_name + "' " + "target ratio for leveling thinning is smaller or equal to one." + "It is possible that no particle will be removed during resampling"); |