Load configuration from a namelist file into the session.
Any currently initialised runtime is discarded first so the session cannot retain stale arrays that disagree with the newly loaded configuration.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_session_t), | intent(inout) | :: | session | |||
| character(len=*), | intent(in) | :: | filename | |||
| integer, | intent(out), | optional | :: | status | ||
| character(len=*), | intent(out), | optional | :: | message | ||
| character(len=*), | intent(in), | optional | :: | case_dir |
Optional case directory (LOAD_NAMELIST's case_dir) to anchor relative file paths; when absent/empty the namelist's own directory is used. |