ocean_restart_t Derived Type

type, public :: ocean_restart_t

Restart-manager lifecycle marker. The registry is built per-run by ocean_state_build_restart_registry (it holds live pointers into the freshly allocated slots), not stored here. Cadence is driven by the driver off cfg%restart_interval/cfg%output_dir.


Inherited by

type~~ocean_restart_t~~InheritedByGraph type~ocean_restart_t ocean_restart_t type~ocean_state_t ocean_state_t type~ocean_state_t->type~ocean_restart_t restart type~ocean_engine_t ocean_engine_t type~ocean_engine_t->type~ocean_state_t state type~ocean_handle_t ocean_handle_t type~ocean_handle_t->type~ocean_state_t state type~ocean_handle_t->type~ocean_engine_t engine

Components

Type Visibility Attributes Name Initial
logical, public :: is_init = .false.

True between init and destroy.


Type-Bound Procedures

procedure, public, non_overridable :: destroy => ocean_restart_destroy

procedure, public, non_overridable :: init => ocean_restart_init

Source Code

   type :: ocean_restart_t
      !! Restart-manager lifecycle marker.  The registry is built per-run
      !! by `ocean_state_build_restart_registry` (it holds live pointers
      !! into the freshly allocated slots), not stored here.  Cadence is
      !! driven by the driver off `cfg%restart_interval`/`cfg%output_dir`.
      logical :: is_init = .false.
         !! True between `init` and `destroy`.
   contains
      procedure, non_overridable :: init => ocean_restart_init
      procedure, non_overridable :: destroy => ocean_restart_destroy
   end type ocean_restart_t