Replace init_en with init_enstrophy and init_energy

This commit is contained in:
2024-12-11 15:48:11 -05:00
parent d81ad18618
commit 9ec233fed5
5 changed files with 86 additions and 54 deletions

View File

@@ -102,8 +102,13 @@ should be a `;` sperated list of `key=value` pairs. The possible keys are
force, excluding kx<0 and kx=0&&ky<=0. The plaintext file format is
`kx ky real_part imag_part`.
* `init_en` (double, default 1.54511597324389e+02): initial value of the energy if
`equation=irreversible` or of the enstrophy if `equation=reversible`.
* `init_energy` (double, default is to not rescale the initial condition, is
incompatible with `init_enstrophy`): enforce a value for the energy of the
initial condition.
* `init_enstrophy` (double, default is to not rescale the initial condition, is
incompatible with `init_energy`): enforce a value for the enstrophy of the
initial condition.
* `random_seed` (int, default ): seed for random initialization.