diff options
-rw-r--r-- | Source/Diagnostics/WarpXOpenPMD.H | 2 | ||||
-rw-r--r-- | Source/Diagnostics/WarpXOpenPMD.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Diagnostics/WarpXOpenPMD.H b/Source/Diagnostics/WarpXOpenPMD.H index 05585ccd0..960baeeb3 100644 --- a/Source/Diagnostics/WarpXOpenPMD.H +++ b/Source/Diagnostics/WarpXOpenPMD.H @@ -133,7 +133,7 @@ private: const amrex::Vector<int>& write_int_comp, const amrex::Vector<std::string>& real_comp_names, const amrex::Vector<std::string>& int_comp_names) const; - + // no need for ts in the name, openPMD handles it void GetFileName(std::string& filename); diff --git a/Source/Diagnostics/WarpXOpenPMD.cpp b/Source/Diagnostics/WarpXOpenPMD.cpp index c9acf3852..a929554e0 100644 --- a/Source/Diagnostics/WarpXOpenPMD.cpp +++ b/Source/Diagnostics/WarpXOpenPMD.cpp @@ -28,7 +28,7 @@ void WarpXOpenPMDPlot::GetFileName(std::string& filename) filename = dir; filename.append(m_OpenPMDFileType).append("/simData"); // - // OpenPMD supports timestepped names + // OpenPMD supports timestepped names // if (m_OneFilePerTS) filename = filename.append("_%07T"); @@ -55,9 +55,9 @@ WarpXOpenPMDPlot::Init(openPMD::AccessType accessType) } } - // either for the next ts file, + // either for the next ts file, // or init a single file for all ts - std::string filename; + std::string filename; GetFileName(filename); if (m_Series != nullptr) { |