diff options
author | 2019-12-05 14:59:20 -0800 | |
---|---|---|
committer | 2019-12-05 14:59:20 -0800 | |
commit | 90ff59c4bcff73d056109c65eb1ac3ca7beae55c (patch) | |
tree | a5c00a6ef65ca19d39e582d5d44b6b62a32bf748 | |
parent | 732271a5250a3f00c62f1316f97a5037be76c6da (diff) | |
download | WarpX-90ff59c4bcff73d056109c65eb1ac3ca7beae55c.tar.gz WarpX-90ff59c4bcff73d056109c65eb1ac3ca7beae55c.tar.zst WarpX-90ff59c4bcff73d056109c65eb1ac3ca7beae55c.zip |
removed end of the line whitespaces
-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) { |