wiki:PDAF_deallocate

Version 4 (modified by lnerger, 27 hours ago) ( diff )

--

PDAF_deallocate

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

With PDAF V3.1 we introduced PDAF_finalize and recommend to use this routine instead.

This routine deallocates the big internal arrays of PDAF to clean up memory at the end of a data assimilation simulation. It further finalized the MPI parallelization if it was initilize by PDAF.

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.
Note: See TracWiki for help on using the wiki.