1 | MODULE VARtSV |
---|
2 | |
---|
3 | USE VAR_SV, only : nsol, nsno, klonv |
---|
4 | |
---|
5 | IMPLICIT NONE |
---|
6 | ! + |
---|
7 | INTEGER, PARAMETER :: ntaver = 4 |
---|
8 | ! + |
---|
9 | REAL,ALLOCATABLE,SAVE :: toicSV(:) ! Snow to ice balance |
---|
10 | !$OMP THREADPRIVATE(toicSV) |
---|
11 | |
---|
12 | REAL,ALLOCATABLE,SAVE :: dz1_SV(:,:) ! "inverse" layer thicknes |
---|
13 | !$OMP THREADPRIVATE(dz1_SV) |
---|
14 | REAL,ALLOCATABLE,SAVE :: dz2_SV(:,:) ! layer thickness |
---|
15 | !$OMP THREADPRIVATE(dz2_SV) |
---|
16 | |
---|
17 | |
---|
18 | REAL, DIMENSION(:),ALLOCATABLE,SAVE :: Tsf_SV ! surface temperature !hj12032010 |
---|
19 | !$OMP THREADPRIVATE(Tsf_SV) |
---|
20 | REAL, DIMENSION(:),ALLOCATABLE,SAVE :: TsfnSV ! new surface temperature |
---|
21 | !$OMP THREADPRIVATE(TsfnSV) |
---|
22 | REAL, DIMENSION(:),ALLOCATABLE,SAVE :: AcoHSV, BcoHSV ! coefficients for Enthalpy |
---|
23 | !$OMP THREADPRIVATE(AcoHSV, BcoHSV) ! evolution,from atmosphere |
---|
24 | REAL, DIMENSION(:),ALLOCATABLE,SAVE :: AcoQSV, BcoQSV ! coefficients for Humidity |
---|
25 | !$OMP THREADPRIVATE( AcoQSV, BcoQSV) ! evolution,from atmosphere |
---|
26 | REAL, DIMENSION(:),ALLOCATABLE,SAVE :: ps__SV ! surface pressure |
---|
27 | !$OMP THREADPRIVATE(ps__SV) |
---|
28 | REAL, DIMENSION(:),ALLOCATABLE,SAVE :: p1l_SV ! 1st layer pressure |
---|
29 | !$OMP THREADPRIVATE(p1l_SV) |
---|
30 | REAL, DIMENSION(:),ALLOCATABLE,SAVE :: cdH_SV ! drag coeff Energy (?) |
---|
31 | !$OMP THREADPRIVATE(cdH_SV) |
---|
32 | REAL, DIMENSION(:),ALLOCATABLE,SAVE :: cdM_SV ! drag coeff momentum (?) |
---|
33 | !$OMP THREADPRIVATE(cdM_SV) |
---|
34 | REAL, DIMENSION(:),ALLOCATABLE,SAVE :: rsolSV ! Radiation balance surface |
---|
35 | !$OMP THREADPRIVATE(rsolSV) |
---|
36 | REAL,SAVE :: lambSV ! coefficient soil layers |
---|
37 | !$OMP THREADPRIVATE(lambSV) |
---|
38 | |
---|
39 | |
---|
40 | CONTAINS |
---|
41 | |
---|
42 | SUBROUTINE INIT_VARtSV |
---|
43 | IMPLICIT NONE |
---|
44 | |
---|
45 | ALLOCATE(toicSV(klonv)) |
---|
46 | |
---|
47 | ALLOCATE(dz1_SV(klonv,-nsol:nsno)) ! "inverse" layer thicknes |
---|
48 | ALLOCATE(dz2_SV(klonv,-nsol:nsno)) ! layer thickness |
---|
49 | ALLOCATE(Tsf_SV(klonv)) ! surface temperature !hj12032010 |
---|
50 | ALLOCATE(TsfnSV(klonv)) ! new surface temperature |
---|
51 | ALLOCATE(AcoHSV(klonv), BcoHSV(klonv)) ! coefficients for Enthalpy |
---|
52 | ! evolution,from atmosphere |
---|
53 | ALLOCATE(AcoQSV(klonv), BcoQSV(klonv)) ! coefficients for Humidity |
---|
54 | ! evolution,from atmosphere |
---|
55 | ALLOCATE(ps__SV(klonv)) ! surface pressure |
---|
56 | ALLOCATE(p1l_SV(klonv)) ! 1st layer pressure |
---|
57 | ALLOCATE(cdH_SV(klonv)) ! drag coeff Energy (?) |
---|
58 | ALLOCATE(cdM_SV(klonv)) ! drag coeff momentum (?) |
---|
59 | ALLOCATE(rsolSV(klonv)) ! Radiation balance surface |
---|
60 | |
---|
61 | END SUBROUTINE INIT_VARtSV |
---|
62 | |
---|
63 | END MODULE VARtSV |
---|
64 | |
---|