/[lmdze]/trunk/Sources/phylmd/yoethf.f
ViewVC logotype

Contents of /trunk/Sources/phylmd/yoethf.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134 - (show annotations)
Wed Apr 29 15:47:56 2015 UTC (8 years, 11 months ago) by guez
File size: 812 byte(s)
Sources inside, compilation outside.
1 module yoethf_m
2
3 ! From phylmd/yoethf.inc, version 1.1.1.1 2004/05/19 12:53:09
4 ! Derived constants specific to ECMWF thermodynamics
5
6 implicit none
7
8 ! Constants used for computation of saturation mixing ratio over
9 ! liquid water (r.les) or ice (r.ies):
10 REAL R2ES, R5LES, R5IES
11 real, parameter:: R3LES = 17.269, R3IES = 21.875, R4LES = 35.86, R4IES = 7.66
12
13 REAL RVTMP2
14 real RHOH2O ! density of liquid water
15
16 save
17
18 contains
19
20 subroutine yoethf
21
22 ! Calcul des constantes pour les fonctions thermodynamiques
23
24 use SUPHEC_M, only: ratm, rcpd, rcpv, rd, restt, rtt, rv
25
26 !-----------------------------------------
27
28 RVTMP2=RCPV/RCPD-1.
29 RHOH2O=RATM/100.
30 R2ES = RESTT * RD / RV
31 R5LES=R3LES*(RTT-R4LES)
32 R5IES=R3IES*(RTT-R4IES)
33
34 end subroutine yoethf
35
36 end module yoethf_m

  ViewVC Help
Powered by ViewVC 1.1.21