aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp')
-rw-r--r--Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp b/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
index bf9f8e877..0bafe4b71 100644
--- a/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
+++ b/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
@@ -6,6 +6,7 @@
*/
#include "BTD_Plotfile_Header_Impl.H"
+#include "Utils/TextMsg.H"
#include "WarpX.H"
#include <AMReX.H>
@@ -108,7 +109,7 @@ void
BTDPlotfileHeaderImpl::WriteHeader ()
{
if ( amrex::FileExists(m_Header_path) ) {
- amrex::Print() << " removing this file : " << m_Header_path << "\n";
+ amrex::Print() << Utils::TextMsg::Info(" removing this file : " + m_Header_path);
amrex::FileSystem::Remove(m_Header_path);
}
std::ofstream HeaderFile;
@@ -257,7 +258,7 @@ void
BTDMultiFabHeaderImpl::WriteMultiFabHeader ()
{
if ( amrex::FileExists(m_Header_path) ) {
- amrex::Print() << " removing this file : " << m_Header_path << "\n";
+ amrex::Print() << Utils::TextMsg::Info(" removing this file : " + m_Header_path);
amrex::FileSystem::Remove(m_Header_path);
}
std::ofstream FabHeaderFile;