diff options
Diffstat (limited to 'Source/WarpX.H')
-rw-r--r-- | Source/WarpX.H | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WarpX.H b/Source/WarpX.H index 26f6045d0..82a3e1483 100644 --- a/Source/WarpX.H +++ b/Source/WarpX.H @@ -325,6 +325,12 @@ public: /** Determine the timestep of the simulation. */ void ComputeDt (); + /** + * \brief + * Compute the last timestep of the simulation and make max_step and stop_time self-consistent. + * Calls computeMaxStepBoostAccelerator() if required. + */ + void ComputeMaxStep (); // Compute max_step automatically for simulations in a boosted frame. void computeMaxStepBoostAccelerator(const amrex::Geometry& geom); int MoveWindow (bool move_j); |