1 |
|
|
!OPTIONS XOPT(NOEVAL) |
2 |
|
1 |
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 |
✓✗ |
1 |
IF (LHOOK) CALL DR_HOOK('SUPHMF',0,ZHOOK_HANDLE) |
95 |
|
1 |
print *,'SUPHMF: avant SU0PHY' |
96 |
|
1 |
CALL SU0PHY(KULOUT) |
97 |
|
1 |
print *,'SUPHMF: avant SUPHY0' |
98 |
|
1 |
CALL SUPHY0(KULOUT) |
99 |
|
1 |
print *,'SUPHMF: avant SUPHY1' |
100 |
|
1 |
CALL SUPHY1(KULOUT) |
101 |
|
1 |
print *,'SUPHMF: avant SUPHY2' |
102 |
|
1 |
CALL SUPHY2(KULOUT) |
103 |
|
1 |
print *,'SUPHMF: avant SUPHY3' |
104 |
|
1 |
CALL SUPHY3(KULOUT) |
105 |
|
1 |
print *,'SUPHMF: avant SUTOPH' |
106 |
|
1 |
CALL SUTOPH(KULOUT) |
107 |
|
1 |
print *,'SUPHMF: avant VAL923' |
108 |
|
|
|
109 |
|
1 |
CALL VAL923(LSOLV) |
110 |
|
|
|
111 |
|
1 |
print *,'SUPHMF: avant SUCAPE' |
112 |
|
1 |
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 |
✓✗ |
1 |
IF (LHOOK) CALL DR_HOOK('SUPHMF',1,ZHOOK_HANDLE) |
126 |
|
1 |
END SUBROUTINE SUPHMF |