| | 1 | = PDAF_finalize = |
| | 2 | |
| | 3 | This page documents the routine `PDAF_finalize` of PDAF, which was introduced with PDAF V3.1 as a replacement for `PDAF_deallocate`. |
| | 4 | |
| | 5 | This routine deallocates the big internal arrays of PDAF to clean up memory at the end of a data assimilation simulation. It further finalizes the MPI parallelization if it was initilize by PDAF. |
| | 6 | |
| | 7 | The interface is the following: |
| | 8 | {{{ |
| | 9 | SUBROUTINE PDAF_finalize() |
| | 10 | }}} |
| | 11 | Thus, it was no arguments. |
| | 12 | |
| | 13 | Note: |
| | 14 | * In the code structure of the templates and tutorials, this routine is called in the interface user routine `finalize_pdaf`. |