PDAF_set_debug_flag Subroutine

subroutine PDAF_set_debug_flag(debugval)

Set debugging flag

This routine set the debug flag for PDAF. One can set the flag dependent on the local analysis domain, the MPI rank, or the OpenMP thread ID, or and combination of them.

For debugval>0 additional information is written by the PDAF routine to stdout. One should activate the debugging before calling some selected routine(s) and deactivate it with debugval=0 afterwards. This allows for a targeted checking of the functionality.

Note: The debugging of PDAF is independent of that for PDAF-OMI.

This is a core routine of PDAF and should not be changed by the user !

Revision history: * 2022-07 - Lars Nerger - Initial code * Later revisions - see repository log

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: debugval