aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r--Source/WarpX.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp
index a3a24897a..acdf30fa6 100644
--- a/Source/WarpX.cpp
+++ b/Source/WarpX.cpp
@@ -32,6 +32,7 @@ int WarpX::moving_window_dir = -1;
Real WarpX::gamma_boost = 1.;
Real WarpX::beta_boost = 0.;
Vector<int> WarpX::boost_direction = {0,0,0};
+Real WarpX::zmax_plasma_to_compute_max_step = std::numeric_limits<Real>::lowest();
long WarpX::current_deposition_algo = 3;
long WarpX::charge_deposition_algo = 0;
@@ -272,6 +273,8 @@ WarpX::ReadParameters ()
ReadBoostedFrameParameters(gamma_boost, beta_boost, boost_direction);
+ pp.query("zmax_plasma_to_compute_max_step", zmax_plasma_to_compute_max_step);
+
pp.queryarr("B_external", B_external);
pp.query("do_moving_window", do_moving_window);