aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Junmin Gu <jgu@lbl.gov> 2019-12-05 14:59:20 -0800
committerGravatar Junmin Gu <jgu@lbl.gov> 2019-12-05 14:59:20 -0800
commit90ff59c4bcff73d056109c65eb1ac3ca7beae55c (patch)
treea5c00a6ef65ca19d39e582d5d44b6b62a32bf748
parent732271a5250a3f00c62f1316f97a5037be76c6da (diff)
downloadWarpX-90ff59c4bcff73d056109c65eb1ac3ca7beae55c.tar.gz
WarpX-90ff59c4bcff73d056109c65eb1ac3ca7beae55c.tar.zst
WarpX-90ff59c4bcff73d056109c65eb1ac3ca7beae55c.zip
removed end of the line whitespaces
-rw-r--r--Source/Diagnostics/WarpXOpenPMD.H2
-rw-r--r--Source/Diagnostics/WarpXOpenPMD.cpp6
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) {