source: LMDZ6/trunk/libf/phylmd/lmdz_cloudth_ini.f90 @ 5408

Last change on this file since 5408 was 5268, checked in by abarral, 8 weeks ago

.f90 <-> .F90 depending on cpp key use

File size: 1.8 KB
Line 
1module lmdz_cloudth_ini
2
3real, save, protected :: C_cap ,cloudth_ratqsmin ,sigma1s_factor ,sigma1s_power ,sigma2s_factor ,sigma2s_power ,vert_alpha_th ,vert_alpha ,C_mpc , d_top , Ei , Ni
4integer, save, protected :: iflag_cloudth_vert_noratqs,iflag_cloudth_vert,iflag_ratqs
5
6!$OMP THREADPRIVATE(C_cap ,cloudth_ratqsmin ,sigma1s_factor ,sigma1s_power ,sigma2s_factor ,sigma2s_power ,vert_alpha_th ,vert_alpha ,C_mpc , d_top , Ei , Ni)
7!$OMP THREADPRIVATE(iflag_cloudth_vert_noratqs,iflag_cloudth_vert,iflag_ratqs)
8
9
10contains
11
12subroutine cloudth_ini(iflag_cloudth_vert_in,iflag_ratqs_in)
13
14use ioipsl_getin_p_mod, ONLY : getin_p
15implicit none
16integer, intent(in) :: iflag_cloudth_vert_in,iflag_ratqs_in
17
18
19        iflag_cloudth_vert=iflag_cloudth_vert_in
20        iflag_ratqs=iflag_ratqs_in
21
22        vert_alpha=0.5
23        sigma1s_factor=1.1
24        sigma1s_power=0.6
25        sigma2s_factor=0.09
26        sigma2s_power=0.5
27        cloudth_ratqsmin=-1.
28        iflag_cloudth_vert_noratqs=0
29        C_mpc=1.e4
30        Ni=2.0e3
31        Ei=0.5
32        C_cap=0.5
33        d_top=1.2
34
35
36        CALL getin_p('C_cap', C_cap)
37        CALL getin_p('cloudth_ratqsmin',cloudth_ratqsmin)
38        CALL getin_p('cloudth_sigma1s_factor',sigma1s_factor)
39        CALL getin_p('cloudth_sigma1s_power',sigma1s_power)
40        CALL getin_p('cloudth_sigma2s_factor',sigma2s_factor)
41        CALL getin_p('cloudth_sigma2s_power',sigma2s_power)
42        CALL getin_p('cloudth_vert_alpha',vert_alpha)
43        vert_alpha_th=vert_alpha
44        CALL getin_p('cloudth_vert_alpha_th',vert_alpha_th)
45        CALL getin_p('C_mpc',C_mpc)
46        CALL getin_p('d_top', d_top)
47        CALL getin_p('Ei', Ei)
48        CALL getin_p('iflag_cloudth_vert_noratqs',iflag_cloudth_vert_noratqs)
49        CALL getin_p('Ni', Ni)
50
51end subroutine cloudth_ini
52
53end module lmdz_cloudth_ini
Note: See TracBrowser for help on using the repository browser.