aboutsummaryrefslogtreecommitdiff
path: root/Source/Initialization/WarpXInitData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Initialization/WarpXInitData.cpp')
-rw-r--r--Source/Initialization/WarpXInitData.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/Initialization/WarpXInitData.cpp b/Source/Initialization/WarpXInitData.cpp
index 385993f78..78eaebfc5 100644
--- a/Source/Initialization/WarpXInitData.cpp
+++ b/Source/Initialization/WarpXInitData.cpp
@@ -86,17 +86,18 @@ WarpX::InitDiagnostics () {
const Real* current_lo = geom[0].ProbLo();
const Real* current_hi = geom[0].ProbHi();
Real dt_boost = dt[0];
-
// Find the positions of the lab-frame box that corresponds to the boosted-frame box at t=0
Real zmin_lab = current_lo[moving_window_dir]/( (1.+beta_boost)*gamma_boost );
Real zmax_lab = current_hi[moving_window_dir]/( (1.+beta_boost)*gamma_boost );
-
myBFD.reset(new BoostedFrameDiagnostic(zmin_lab,
zmax_lab,
moving_window_v, dt_snapshots_lab,
- num_snapshots_lab, gamma_boost,
- t_new[0], dt_boost,
- moving_window_dir, geom[0]));
+ num_snapshots_lab,
+ dt_slice_snapshots_lab,
+ num_slice_snapshots_lab,
+ gamma_boost, t_new[0], dt_boost,
+ moving_window_dir, geom[0],
+ slice_realbox));
}
}