source: LMDZ6/trunk/libf/phylmd/lmdz_surf_wind_ini.f90 @ 5821

Last change on this file since 5821 was 5635, checked in by fhourdin, 7 months ago

Modified subrid wind for SPLA (Fredho4Lamine)

File size: 2.2 KB
Line 
1MODULE lmdz_surf_wind_ini
2IMPLICIT NONE
3save
4
5  ! ============================================================================
6  ! Declaration de variables
7  ! -------------------------------------------------------------------------
8
9   integer, protected :: lunout
10   integer, protected :: iflag_surf_wind=0
11   real, protected :: surf_wind_ktwake=0.5
12   real, protected :: surf_wind_kttherm=2.
13   real, protected :: surf_wind_kztherm=1.
14
15   !$OMP THREADPRIVATE(lunout, iflag_surf_wind, surf_wind_ktwake, surf_wind_kttherm, surf_wind_kztherm)
16
17!!   !$OMP THREADPRIVATE(lunout,iflag_surf_wind)
18!!   !$OMP THREADPRIVATE(lunout,surf_wind_ktwake)
19!!   !$OMP THREADPRIVATE(lunout,surf_wind_kttherm)
20!!   !$OMP THREADPRIVATE(lunout,surf_wind_kztherm)
21
22CONTAINS
23
24  ! =========================================================================
25  SUBROUTINE surf_wind_ini(klon,lunout_i)
26  ! =========================================================================
27
28  ! **************************************************************
29  ! *
30  ! WAKE                                                        *
31  ! retour a un Pupper fixe                                *
32  ! *
33  ! written by   :  GRANDPEIX Jean-Yves   09/03/2000            *
34  ! modified by :   ROEHRIG Romain        01/29/2007            *
35  ! **************************************************************
36
37  ! -------------------------------------------------------------------------
38  ! Initialisations
39  ! -------------------------------------------------------------------------
40
41
42  USE ioipsl_getin_p_mod, ONLY : getin_p
43  integer, intent(in) :: klon,lunout_i
44
45  lunout=lunout_i
46  CALL getin_p('iflag_surf_wind',iflag_surf_wind)
47  CALL getin_p('surf_wind_ktwake',surf_wind_ktwake)
48  CALL getin_p('surf_wind_kttherm',surf_wind_kttherm)
49  CALL getin_p('surf_wind_kztherm',surf_wind_kztherm)
50
51  write(lunout,*) 'Initialisation wind10m'
52  write(lunout,*) 'lmdz_surf_wind_ini, iflag_surf_wind=',iflag_surf_wind
53  write(lunout,*) 'lmdz_surf_wind_ini, surf_wind_ktwake=',surf_wind_ktwake
54  write(lunout,*) 'lmdz_surf_wind_ini, surf_wind_kttherm=',surf_wind_kttherm
55  write(lunout,*) 'lmdz_surf_wind_ini, surf_wind_kztherm=',surf_wind_kztherm
56
57 RETURN
58
59END SUBROUTINE surf_wind_ini
60
61
62
63END MODULE lmdz_surf_wind_ini
Note: See TracBrowser for help on using the repository browser.