/[lmdze]/trunk/phylmd/yoethf.f90
ViewVC logotype

Contents of /trunk/phylmd/yoethf.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations)
Thu Jun 13 14:40:06 2019 UTC (4 years, 11 months ago) by guez
File size: 728 byte(s)
Change all `.f` suffixes to `.f90`. (The opposite was done in revision
82.)  Because of change of philosopy in GNUmakefile: we already had a
rewritten rule for `.f`, so it does not make the makefile longer to
replace it by a rule for `.f90`. And it spares us options of
makedepf90 and of the compiler. Also we prepare the way for a simpler
`CMakeLists.txt`.

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 use SUPHEC_M, only: ratm, rcpd, rcpv, rd, restt, rtt, rv
7
8 implicit none
9
10 ! Constants used for computation of saturation mixing ratio over
11 ! liquid water (r.les) or ice (r.ies):
12 real, parameter:: R3LES = 17.269, R3IES = 21.875, R4LES = 35.86, R4IES = 7.66
13 real, parameter:: R5LES = R3LES * (RTT - R4LES)
14 real, parameter:: R5IES = R3IES * (RTT - R4IES)
15
16 real, parameter:: RVTMP2 = RCPV / RCPD - 1.
17 real, parameter:: RHOH2O = RATM / 100. ! density of liquid water
18 real, parameter:: R2ES = RESTT * RD / RV
19
20 private ratm, rcpd, rcpv, rd, restt, rtt, rv
21
22 end module yoethf_m

  ViewVC Help
Powered by ViewVC 1.1.21