Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 605 Bytes

shutdown.rst

File metadata and controls

20 lines (13 loc) · 605 Bytes

Shutdown

The shutdown stage is where MARBL deallocates memory (including memory allocated inside of derived types, such as the diagnostic indexing types). The only object still accessible after shutdown is marbl_interface%timer_summary, so GCMs can still access performance timers.

The shutdown() interface

subroutine shutdown(this)

  class(marbl_interface_class), intent(inout) :: this

No additional arguments are needed for calls to marbl_instance%shutdown().