diff options
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.H')
-rw-r--r-- | Source/Particles/WarpXParticleContainer.H | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/Particles/WarpXParticleContainer.H b/Source/Particles/WarpXParticleContainer.H index 0f5b147ef..b17136e58 100644 --- a/Source/Particles/WarpXParticleContainer.H +++ b/Source/Particles/WarpXParticleContainer.H @@ -15,6 +15,7 @@ #include "Evolve/WarpXDtType.H" #include "Particles/ParticleBoundaries.H" #include "SpeciesPhysicalProperties.H" +#include "Utils/TextMsg.H" #ifdef WARPX_QED # include "ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper_fwd.H" @@ -300,7 +301,8 @@ public: particle_runtime_comps[name] = NumRealComps() - PIdx::nattribs; AddRealComp(comm); } else { - amrex::Print() << name << " already exists in particle_comps, not adding. \n"; + amrex::Print() << Utils::TextMsg::Info( + name + " already exists in particle_comps, not adding."); } } @@ -312,7 +314,8 @@ public: particle_runtime_icomps[name] = NumIntComps() - 0; AddIntComp(comm); } else { - amrex::Print() << name << " already exists in particle_icomps, not adding. \n"; + amrex::Print() << Utils::TextMsg::Info( + name + " already exists in particle_icomps, not adding."); } } |