aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/WarpXIO.cpp
diff options
context:
space:
mode:
authorGravatar Andrew Myers <atmyers@lbl.gov> 2022-01-12 13:39:56 -0800
committerGravatar GitHub <noreply@github.com> 2022-01-12 13:39:56 -0800
commit133f3fdba41f0470915304f11c9776816dfbec73 (patch)
treee0bdd8894f4001e7b06d3ded57b7a55dc35fec6e /Source/Diagnostics/WarpXIO.cpp
parenta3e93b5bd9587e747c6e63d0ef9cb4f298ae845c (diff)
downloadWarpX-133f3fdba41f0470915304f11c9776816dfbec73.tar.gz
WarpX-133f3fdba41f0470915304f11c9776816dfbec73.tar.zst
WarpX-133f3fdba41f0470915304f11c9776816dfbec73.zip
Initialize EB grid data on restart. (#2689)
* Initialize EB grid data on restart. * Add restart test with EBs. Co-authored-by: Peter Scherpelz <peter.scherpelz@modernelectron.com>
Diffstat (limited to 'Source/Diagnostics/WarpXIO.cpp')
-rw-r--r--Source/Diagnostics/WarpXIO.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Diagnostics/WarpXIO.cpp b/Source/Diagnostics/WarpXIO.cpp
index 2eb392f48..1c5eb12ae 100644
--- a/Source/Diagnostics/WarpXIO.cpp
+++ b/Source/Diagnostics/WarpXIO.cpp
@@ -334,6 +334,8 @@ WarpX::InitFromCheckpoint ()
}
}
+ InitializeEBGridData(maxLevel());
+
// Initialize particles
mypc->AllocData();
mypc->Restart(restart_chkfile);