solver_session_t Derived Type

type, public :: solver_session_t

Mutable solver session that owns one configuration and, optionally, one runtime.

V1 keeps exactly one runtime context inside a session. Any setter or new namelist load invalidates the active runtime so the next initialise call rebuilds state from a coherent configuration snapshot.


Components

Type Visibility Attributes Name Initial
type(config_t), public :: cfg
type(solver_run_context_t), public :: ctx
logical, public :: has_runtime = .false.
character(len=512), public :: last_error = ''