SURFEX v8.1
General documentation of Surfex
prep_ctrl.F90
Go to the documentation of this file.
1 !SFX_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
2 !SFX_LIC This is part of the SURFEX software governed by the CeCILL-C licence
3 !SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4 !SFX_LIC for details. version 1.
5 ! #########
6  SUBROUTINE prep_ctrl(DGO,KLUOUT)
7 ! #################################################################################################################
8 !
9 !!**** *PREP_CTRL* - routine to check that diagnostics are switched off
10 !!
11 !! PURPOSE
12 !! -------
13 !!
14 !!** METHOD
15 !! ------
16 !!
17 !! EXTERNAL
18 !! --------
19 !!
20 !!
21 !! IMPLICIT ARGUMENTS
22 !! ------------------
23 !!
24 !! REFERENCE
25 !! ---------
26 !!
27 !!
28 !! AUTHOR
29 !! ------
30 !! P. Le Moigne *Meteo France*
31 !!
32 !! MODIFICATIONS
33 !! -------------
34 !! Original 04/2007
35 !-------------------------------------------------------------------------------
36 !
37 !* 0. DECLARATIONS
38 ! ------------
39 !
40 USE modd_diag_n, ONLY : diag_options_t
41 !
42 USE yomhook ,ONLY : lhook, dr_hook
43 USE parkind1 ,ONLY : jprb
44 !
45 IMPLICIT NONE
46 !
47 !* 0.1 Declarations of arguments
48 ! -------------------------
49 !
50 !
51 TYPE(diag_options_t), INTENT(INOUT) :: DGO
52 !
53 INTEGER, INTENT(IN) :: KLUOUT ! unit number
54 !
55 REAL(KIND=JPRB) :: ZHOOK_HANDLE
56 !
57 !* 0.2 Declarations of local variables
58 ! -------------------------------
59 !
60 !-------------------------------------------------------------------------------
61 !
62 IF (lhook) CALL dr_hook('PREP_CTRL',0,zhook_handle)
63 dgo%N2M = 0
64 !
65 dgo%LSURF_BUDGET = .false.
66 dgo%L2M_MIN_ZS = .false.
67 dgo%LRAD_BUDGET = .false.
68 dgo%LCOEF = .false.
69 dgo%LSURF_VARS = .false.
70 dgo%LSURF_BUDGETC = .false.
71 !
72 WRITE(kluout,*)'DIAGNOSTICS DESACTIVATED'
73 IF (lhook) CALL dr_hook('PREP_CTRL',1,zhook_handle)
74 !-------------------------------------------------------------------------------
75 !
76 END SUBROUTINE prep_ctrl
subroutine prep_ctrl(DGO, KLUOUT)
Definition: prep_ctrl.F90:7
integer, parameter jprb
Definition: parkind1.F90:32
logical lhook
Definition: yomhook.F90:15