aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
diff options
context:
space:
mode:
authorGravatar Neïl Zaim <49716072+NeilZaim@users.noreply.github.com> 2021-07-09 00:03:37 +0200
committerGravatar GitHub <noreply@github.com> 2021-07-08 15:03:37 -0700
commit482692d88435f959c5b443637e73e44cf85e32a5 (patch)
treec5d3fd46ec32d5f0cd66e91a9fb2baf44def8c24 /Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
parent6269c20a6c42037c85efd76bfa9ed162a312df96 (diff)
downloadWarpX-482692d88435f959c5b443637e73e44cf85e32a5.tar.gz
WarpX-482692d88435f959c5b443637e73e44cf85e32a5.tar.zst
WarpX-482692d88435f959c5b443637e73e44cf85e32a5.zip
Fix small issue when adding moving window upon restart (#2058)
* Fix small issue when adding moving window upon restart * Move do_moving_window at the end of WarpXheader
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp')
-rw-r--r--Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp b/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
index e63ddc200..cbe5e2b3b 100644
--- a/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
+++ b/Source/Diagnostics/FlushFormats/FlushFormatPlotfile.cpp
@@ -289,6 +289,8 @@ FlushFormatPlotfile::WriteWarpXHeader(
WriteHeaderParticle(HeaderFile, particle_diags);
HeaderFile << warpx.getcurrent_injection_position() << "\n";
+
+ HeaderFile << warpx.getdo_moving_window() << "\n";
}
}