wiki:PDAF_deallocate

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.
Last modified 5 weeks ago Last modified on Apr 9, 2026, 3:15:22 PM
Note: See TracWiki for help on using the wiki.