Bring a 2D run context to ready-to-step state.
This is the setup block of the pre-P1 run_euler_2d, moved verbatim
(same call order, same log lines): logger + banner + config-loaded line,
state init, scheme binding, decomposition, local mesh, case/schemes log
lines, work arrays, restart-or-IC, time-scheme binding.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_run_context_2d_t), | intent(inout) | :: | ctx |
Context to initialise ( |
||
| type(config_2d_t), | intent(in) | :: | cfg |
Validated 2D configuration. |
||
| integer, | intent(out) | :: | status |
0 on success, 1 on failure (logger already finalised). |
||
| character(len=*), | intent(out) | :: | message |
Human-readable error when status /= 0. |