diff options
author | 2023-03-28 00:25:26 -0700 | |
---|---|---|
committer | 2023-03-28 07:25:26 +0000 | |
commit | 99e6d60a35b1d373f88e7ab1dddec2d517bef1f8 (patch) | |
tree | 32cc8967fc28e7c48493331aa2bdd2a3d8544e1a /Source/Diagnostics/FullDiagnostics.cpp | |
parent | d066a2dbd8359131b0e1846fd0c173d27e3aa862 (diff) | |
download | WarpX-99e6d60a35b1d373f88e7ab1dddec2d517bef1f8.tar.gz WarpX-99e6d60a35b1d373f88e7ab1dddec2d517bef1f8.tar.zst WarpX-99e6d60a35b1d373f88e7ab1dddec2d517bef1f8.zip |
Fix restart btd (#3734)
* Correct calculation of m_t_lab
* write BTD related restart, read, and init data before and after accordingly
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* write snapshot domain lo and hi in moving window dir
* write lo and hi of snapshot domain for all dimensions
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* clean up
* more meta data and redefine snapshot geom, buffer mf and write to new dir for plotfile instead of merging
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* use virtual functions
* empty else condition
* remove commented line
* fix error in returning k-index. Thanks CI
* doxygen comments
* doxygen comments
* more doxygen
---------
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Diffstat (limited to 'Source/Diagnostics/FullDiagnostics.cpp')
-rw-r--r-- | Source/Diagnostics/FullDiagnostics.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Diagnostics/FullDiagnostics.cpp b/Source/Diagnostics/FullDiagnostics.cpp index 99e28a7f8..332b93986 100644 --- a/Source/Diagnostics/FullDiagnostics.cpp +++ b/Source/Diagnostics/FullDiagnostics.cpp @@ -443,7 +443,8 @@ FullDiagnostics::AddRZModesToOutputNames (const std::string& field, int ncomp){ void -FullDiagnostics::InitializeBufferData (int i_buffer, int lev ) { +FullDiagnostics::InitializeBufferData (int i_buffer, int lev, bool restart ) { + amrex::ignore_unused(restart); auto & warpx = WarpX::GetInstance(); amrex::RealBox diag_dom; bool use_warpxba = true; |