Changeset 1996 for trunk/LMDZ.MARS/libf/phymars/watersat.F
- Timestamp:
- Sep 13, 2018, 3:27:26 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/watersat.F
r689 r1996 1 MODULE watersat_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 SUBROUTINE watersat(naersize,t,p,qsat) 8 2 9 IMPLICIT NONE 3 10 … … 7 14 c and Temperature (K) array 8 15 c 16 c Move in module by Deborah BARDET 02/07/18 9 17 c======================================================================= 10 18 … … 15 23 16 24 c INPUT 17 integer naersize 18 real t(naersize) , p(naersize) 25 integer, intent(in) :: naersize 26 real, intent(in) :: t(naersize) 27 real, intent(in) :: p(naersize) 19 28 c OUTPUT 20 real qsat(naersize)29 real, intent(out) :: qsat(naersize) 21 30 22 31 c local: 23 32 c ------ 24 33 INTEGER i 25 REAL r2,r3,r4 , To, es 26 SAVE r2,r3,r4 27 DATA r2,r3,r4/611.14,21.875,7.66/ 28 SAVE To 29 DATA To/273.16/ 30 34 REAL,PARAMETER :: r2 = 611.14 35 REAL,PARAMETER :: r3 = 21.875 36 REAL,PARAMETER :: r4 = 7.66 37 REAL,PARAMETER :: To = 273.16 38 REAL es 39 40 31 41 do i=1,naersize 32 42 c pression de vapeur saturante : … … 44 54 enddo 45 55 46 RETURN47 END48 56 END SUBROUTINE watersat 57 58 END MODULE watersat_mod
Note: See TracChangeset
for help on using the changeset viewer.