From 335fb1e7e53d78e6cf18eab34f48cbbe7eaa513e Mon Sep 17 00:00:00 2001 From: John P Wakefield Date: Wed, 11 Dec 2024 13:58:01 -0500 Subject: [PATCH 1/2] added variable digits in output filename option; see exa MR1373 --- docs/source_docs/user_guide/inputs/output/plotfiles.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source_docs/user_guide/inputs/output/plotfiles.rst b/docs/source_docs/user_guide/inputs/output/plotfiles.rst index 83c0d05..ed45e90 100644 --- a/docs/source_docs/user_guide/inputs/output/plotfiles.rst +++ b/docs/source_docs/user_guide/inputs/output/plotfiles.rst @@ -28,6 +28,9 @@ format (for debugging). | par_ascii_per_approx | Time period of the ascii particle output (approximate); | Real | -1 | | | if -1 then particle ascii files will not be written at this frequency | | | +----------------------+-----------------------------------------------------------------------+-------------+-----------+ +| file_digits | Number of digits to use in plotfile (plt[0-9]+) and checkpoint | Int | 5 | +| | (chk[0-9]+) filenames. | | | ++----------------------+-----------------------------------------------------------------------+-------------+-----------+ | ascent_int | Frequency of ascent pipeline; | Int | -1 | | | if -1 then ascent will not be called. | | | +----------------------+-----------------------------------------------------------------------+-------------+-----------+ -- GitLab From 816851e5f2bace41d2b93327707bc003d52414a8 Mon Sep 17 00:00:00 2001 From: John P Wakefield Date: Thu, 21 Aug 2025 12:24:42 -0400 Subject: [PATCH 2/2] clarification that scale_init_dt is applied before max_dt --- docs/source_docs/user_guide/inputs/initialization.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/source_docs/user_guide/inputs/initialization.rst b/docs/source_docs/user_guide/inputs/initialization.rst index 7f279e9..3823c8b 100644 --- a/docs/source_docs/user_guide/inputs/initialization.rst +++ b/docs/source_docs/user_guide/inputs/initialization.rst @@ -16,6 +16,14 @@ The following inputs must be preceded by ``mfix`` and determine how we initializ | | Must be a value <= 1.0 | | | +----------------------+-----------------------------------------------------------------------+-------------+--------------+ +.. note:: + ``scale_init_dt`` is applied *before* ``dt_max`` when using adaptive time + steps, i.e. the timestep is computed as ``min(max_dt, scale_init_dt * dt0)`` + where ``dt0`` is the step before scaling and bracketing, *not* + ``scale_init_dt * min(max_dt, dt0)``. As a result, if ``max_dt`` is already + smaller than the allowed adaptive timestep, changing ``scale_init_dt`` will + have no effect. + +----------------------+-----------------------------------------------------------------------+-------------+--------------+ | | Description | Type | Default | -- GitLab