diff options
author | 2017-10-23 15:44:19 -0700 | |
---|---|---|
committer | 2017-10-23 15:44:19 -0700 | |
commit | 689f6c4b8b5c6aa6a5376fc4bef375944d76498d (patch) | |
tree | 4f226146b833b95757437d0862f62b070822ba05 /Source/WarpXEvolve.cpp | |
parent | df144b255d0c65d15bac5883ecee2793a37058d5 (diff) | |
download | WarpX-689f6c4b8b5c6aa6a5376fc4bef375944d76498d.tar.gz WarpX-689f6c4b8b5c6aa6a5376fc4bef375944d76498d.tar.zst WarpX-689f6c4b8b5c6aa6a5376fc4bef375944d76498d.zip |
move initializing the diagnostic to WarpXInitData
Diffstat (limited to 'Source/WarpXEvolve.cpp')
-rw-r--r-- | Source/WarpXEvolve.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/Source/WarpXEvolve.cpp b/Source/WarpXEvolve.cpp index 40417703f..df6822962 100644 --- a/Source/WarpXEvolve.cpp +++ b/Source/WarpXEvolve.cpp @@ -160,20 +160,7 @@ WarpX::EvolveEM (int numsteps) numsteps_max = std::min(istep[0]+numsteps, max_step); } - bool max_time_reached = false; - - if (do_boosted_frame_diagnostic) { - const Real* current_lo = geom[0].ProbLo(); - const Real* current_hi = geom[0].ProbHi(); - Real dt_boost = dt[0]; - - myBFD.reset(new BoostedFrameDiagnostic(current_lo[moving_window_dir], - current_hi[moving_window_dir], - moving_window_v, dt_snapshots_lab, - num_snapshots_lab, gamma_boost, dt_boost, - moving_window_dir)); - } - + bool max_time_reached = false; for (int step = istep[0]; step < numsteps_max && cur_time < stop_time; ++step) { if (warpx_py_print_step) { |