LMDZ
suphmf.F90
Go to the documentation of this file.
1 !OPTIONS XOPT(NOEVAL)
2 SUBROUTINE suphmf(KULOUT)
3 
4 !**** *SUPHMF* - Calls initialization of commons controlling physics
5 ! in the Meteo-France version.
6 
7 ! Purpose.
8 ! --------
9 ! Organise the setup of physical constants for Meteo-France
10 ! physics package.
11 
12 !** Interface.
13 ! ----------
14 ! *CALL* *SUPHMF(KULOUT)
15 
16 ! Explicit arguments :
17 ! --------------------
18 ! KULOUT : Logical unit for the output
19 
20 ! Implicit arguments :
21 ! --------------------
22 ! None.
23 
24 ! Method.
25 ! -------
26 ! Irrelevant.
27 
28 ! Externals.
29 ! ----------
30 
31 ! SUPHY0
32 ! SUPHY1
33 ! SUPHY2
34 ! SUPHY3
35 ! SUTOPH
36 
37 ! Reference.
38 ! ----------
39 
40 ! Author.
41 ! -------
42 ! J.-F. Geleyn.
43 
44 ! Modifications.
45 ! --------------
46 ! Original : 91-06-15
47 ! Modified 91-06-10 by A. Lasserre-Bigorry (call to SUTOPH)
48 ! Modified 99-03-01 by D. Giard (call to VAL923 for 923 and 927)
49 ! Modified 01-04-02 R. El Khatib setup for CAPE diagnostic
50 ! M.Hamrud 01-Oct-2003 CY28 Cleaning
51 ! Modified 04-11-16 Y. Seity : call suphmnh for AROME physics
52 ! R. Zaaboul 28-Feb-2006: call suparar, suphmpa and suphmse (ex suphmnh)
53 ! Y. Seity 06-07-10: nfpsurfex and lfpart2 in call suphmse (prepsurfex)
54 ! ------------------------------------------------------------------
55 
56 !* 1. Call routines for specific physics' commons setup.
57 ! --------------------------------------------------
58 
59 USE parkind1 ,ONLY : jpim ,jprb
60 USE yomhook ,ONLY : lhook, dr_hook
61 
62 USE yomphy , ONLY : lsolv
63 USE yomarphy , ONLY : lmpa, lmse
64 USE yomct0 , ONLY : lsforc, lfpart2
65 USE yomfpc , ONLY : nfpsurfex
66 
67 ! Ce qui concerne NULNAM et JPNULNAM commente par MPL le 15.04.09
68 !USE PARDIM , ONLY : JPNULNAM
69 !USE YOMLUN , ONLY : NULNAM
70 
71 IMPLICIT NONE
72 
73 INTEGER(KIND=JPIM),INTENT(IN) :: KULOUT
74 REAL(KIND=JPRB) :: ZHOOK_HANDLE
75 
76 #include "sucape.intfb.h"
77 #include "su0phy.intfb.h"
78 #include "suphy0.intfb.h"
79 #include "suphy1.intfb.h"
80 #include "suphy2.intfb.h"
81 #include "suphy3.intfb.h"
82 #include "sutoph.intfb.h"
83 #include "val923.intfb.h"
84 ! commente par MPL 20.11.08
85 !#include "suparar.intfb.h"
86 !#include "suphmpa.intfb.h"
87 !#include "suphmse.intfb.h"
88 
89 ! Ce qui concerne MNAM commente par MPL le 15.04.09
90 !NULNAM = JPNULNAM
91 !OPEN(NULNAM,ACTION="READ")
92 !OPEN(NULNAM,FILE='MNAM',ACTION="READ")
93 
94 IF (lhook) CALL dr_hook('SUPHMF',0,zhook_handle)
95 print *,'SUPHMF: avant SU0PHY'
96 CALL su0phy(kulout)
97 print *,'SUPHMF: avant SUPHY0'
98 CALL suphy0(kulout)
99 print *,'SUPHMF: avant SUPHY1'
100 CALL suphy1(kulout)
101 print *,'SUPHMF: avant SUPHY2'
102 CALL suphy2(kulout)
103 print *,'SUPHMF: avant SUPHY3'
104 CALL suphy3(kulout)
105 print *,'SUPHMF: avant SUTOPH'
106 CALL sutoph(kulout)
107 print *,'SUPHMF: avant VAL923'
108 
109 CALL val923(lsolv)
110 
111 print *,'SUPHMF: avant SUCAPE'
112 CALL sucape(kulout)
113 
114 ! setup for AROME physics and SURFEX
115 ! commente par MPL 20.11.08
116 !CALL SUPARAR(KULOUT)
117 !IF (LMPA) CALL SUPHMPA(KULOUT)
118 !IF (LMSE.AND.NFPSURFEX==0.AND.(.NOT.LFPART2)) CALL SUPHMSE(KULOUT)
119 
120 ! ------------------------------------------------------------------
121 
122 
123 ! Ce qui concerne NULNAM commente par MPL le 15.04.09
124 !CLOSE(NULNAM)
125 IF (lhook) CALL dr_hook('SUPHMF',1,zhook_handle)
126 END SUBROUTINE suphmf
subroutine sutoph(KULOUT)
Definition: sutoph.F90:3
subroutine val923(LDNEW)
Definition: val923.F90:2
logical lsolv
Definition: yomphy.F90:375
Definition: yomct0.F90:1
subroutine suphy2(KULOUT)
Definition: suphy2.F90:3
subroutine su0phy(KULOUT)
Definition: su0phy.F90:2
subroutine suphy0(KULOUT)
Definition: suphy0.F90:4
logical lmse
Definition: yomarphy.F90:34
integer(kind=jpim) nfpsurfex
Definition: yomfpc.F90:243
logical lmpa
Definition: yomarphy.F90:31
integer, parameter jprb
Definition: parkind1.F90:31
subroutine suphmf(KULOUT)
Definition: suphmf.F90:3
subroutine suphy3(KULOUT)
Definition: suphy3.F90:3
Definition: yomfpc.F90:1
logical lhook
Definition: yomhook.F90:12
logical lsforc
Definition: yomct0.F90:467
subroutine dr_hook(CDNAME, KSWITCH, PKEY)
Definition: yomhook.F90:17
Definition: yomphy.F90:1
integer, parameter jpim
Definition: parkind1.F90:13
subroutine sucape(KULOUT)
Definition: sucape.F90:2
subroutine suphy1(KULOUT)
Definition: suphy1.F90:3
logical lfpart2
Definition: yomct0.F90:341