wiki:PDAF_deallocate

Version 2 (modified by lnerger, 6 years ago) (diff)

--

PDAF_deallocate

This page documents the routine PDAF_deallocate of PDAF, which was introduced with PDAF V1.13.

This routine deallocates the big internal arrays of PDAF to clean up memory at the end of a data assimilation simulation.

The interface is the following:

SUBROUTINE PDAF_deallocate()

Thus, it was no arguments.

Note:

  • Usually, we call this routine in the interface user routine finalize_pdaf
  • Calling PDAF_deallocate is not mandatory. Usually, the operating system cleans up all used memory by itself when the program stops. However, it's good practice to explicitly clean up the memory.