Fix running averages for adaptive step, and base print_freq and final_time on times

This commit is contained in:
2023-05-16 00:00:18 -04:00
parent 5db3680b31
commit 5ede4f1084
6 changed files with 90 additions and 157 deletions

View File

@@ -57,8 +57,8 @@ should be a `;` sperated list of `key=value` pairs. The possible keys are
* `N2` (int, default `N`): same as `N` but only for y component.
* `nsteps` (long int, default 10000000): number of steps in the computation.
Set to 0 to keep on going forever.
* `final_time` (double, default 100000): time at which to end the computation.
Set to <0 to keep on going forever.
* `nu` (double, default 0.00048828125): viscosity.
@@ -66,11 +66,10 @@ should be a `;` sperated list of `key=value` pairs. The possible keys are
* `L` (double, default 2pi): size of box.
* `print_freq` (long int, default 1000): only print every `print_freq` steps.
* `print_freq` (double, default 1): only print when time crosses integer
multiples of `print_freq`.
* `starting_step` (long int, default 0): start the computation at this step.
* `starting_time` (double, default starting_time*delta): start the computation at this time.
* `starting_time` (double, default 0): starting time.
* `driving`: either `zero` for no driving, `test` (default) for a testing
driving force or `file:<filename>` or `file_txt:<filename>` to read the