1 | ! |
---|
2 | ! part of the module_lmd_driver program |
---|
3 | ! that is (number of domains)-dependent |
---|
4 | ! |
---|
5 | |
---|
6 | |
---|
7 | SELECT CASE (id) |
---|
8 | |
---|
9 | CASE(1) |
---|
10 | CALL inifis(ngrid,nlayer, & |
---|
11 | #ifdef NEWPHYS |
---|
12 | nq, & |
---|
13 | #endif |
---|
14 | wday_ini,wdaysec, & |
---|
15 | wappel_phys, & |
---|
16 | lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & |
---|
17 | #ifdef NEWPHYS |
---|
18 | dt, & |
---|
19 | #else |
---|
20 | nq,dt, & |
---|
21 | #endif |
---|
22 | womeg,wmugaz, & |
---|
23 | wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & |
---|
24 | wz0,wemin_turb,wlmixmin, & |
---|
25 | wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & |
---|
26 | wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & |
---|
27 | #ifdef NEWPHYS |
---|
28 | walbedodat, wphisfi, wvolcapa, wz0tab, & |
---|
29 | #else |
---|
30 | walbedodat, winertiedat, wphisfi, & |
---|
31 | #endif |
---|
32 | wzmea,wzstd,wzsig,wzgam,wzthe, & |
---|
33 | wtheta, wpsi) |
---|
34 | |
---|
35 | CASE(2) |
---|
36 | CALL d2_inifis(ngrid,nlayer, & |
---|
37 | #ifdef NEWPHYS |
---|
38 | nq, & |
---|
39 | #endif |
---|
40 | wday_ini,wdaysec, & |
---|
41 | wappel_phys, & |
---|
42 | lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & |
---|
43 | #ifdef NEWPHYS |
---|
44 | dt, & |
---|
45 | #else |
---|
46 | nq,dt, & |
---|
47 | #endif |
---|
48 | womeg,wmugaz, & |
---|
49 | wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & |
---|
50 | wz0,wemin_turb,wlmixmin, & |
---|
51 | wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & |
---|
52 | wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & |
---|
53 | #ifdef NEWPHYS |
---|
54 | walbedodat, wphisfi, wvolcapa, wz0tab, & |
---|
55 | #else |
---|
56 | walbedodat, winertiedat, wphisfi, & |
---|
57 | #endif |
---|
58 | wzmea,wzstd,wzsig,wzgam,wzthe, & |
---|
59 | wtheta, wpsi) |
---|
60 | |
---|
61 | CASE(3) |
---|
62 | CALL d3_inifis(ngrid,nlayer, & |
---|
63 | #ifdef NEWPHYS |
---|
64 | nq, & |
---|
65 | #endif |
---|
66 | wday_ini,wdaysec, & |
---|
67 | wappel_phys, & |
---|
68 | lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & |
---|
69 | #ifdef NEWPHYS |
---|
70 | dt, & |
---|
71 | #else |
---|
72 | nq,dt, & |
---|
73 | #endif |
---|
74 | womeg,wmugaz, & |
---|
75 | wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & |
---|
76 | wz0,wemin_turb,wlmixmin, & |
---|
77 | wemissiv,wemissiceN,wemissiceS,walbediceN,walbediceS, & |
---|
78 | wiceradiusN,wiceradiusS,wdtemisiceN,wdtemisiceS, & |
---|
79 | #ifdef NEWPHYS |
---|
80 | walbedodat, wphisfi, wvolcapa, wz0tab, & |
---|
81 | #else |
---|
82 | walbedodat, winertiedat, wphisfi, & |
---|
83 | #endif |
---|
84 | wzmea,wzstd,wzsig,wzgam,wzthe, & |
---|
85 | wtheta, wpsi) |
---|
86 | |
---|
87 | |
---|
88 | ! |
---|
89 | ! CASE(3:) |
---|
90 | ! print *, '** Mars ** Not supported ...' |
---|
91 | ! stop |
---|
92 | ! |
---|
93 | END SELECT |
---|