From 17213f290d6a366e818122a0d75b8e3707b6cdbb Mon Sep 17 00:00:00 2001 From: RevathiJambunathan Date: Mon, 14 Oct 2019 13:10:26 -0700 Subject: including a new input variable - particle_slice_width_lab, which is used to copy data from the full domain to the reduced back-transformed diagnostic buffer array. This is a physical width in the lab-frame. --- Source/Initialization/WarpXInitData.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Initialization/WarpXInitData.cpp') diff --git a/Source/Initialization/WarpXInitData.cpp b/Source/Initialization/WarpXInitData.cpp index 78eaebfc5..97870ee67 100644 --- a/Source/Initialization/WarpXInitData.cpp +++ b/Source/Initialization/WarpXInitData.cpp @@ -97,7 +97,8 @@ WarpX::InitDiagnostics () { num_slice_snapshots_lab, gamma_boost, t_new[0], dt_boost, moving_window_dir, geom[0], - slice_realbox)); + slice_realbox, + particle_slice_width_lab)); } } -- cgit v1.2.3