- Timestamp:
- Apr 4, 2018, 8:04:13 AM (7 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 5 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r1912 r1913 2544 2544 drag_noro.F -> drag_noro_mod.F 2545 2545 gwstress.F -> gwstress_mod.F 2546 2547 == 04/04/2018 == EM 2548 - Forgotten in previous commit: gwprofil.F -> gwprofil_mod.F (here also the 2549 size of an argument, rho, was incorrect in caller orodrag). 2550 - Turned newsedim.F into a module newsedim_mod.F 2551 - Adapted co2cloud.F and improvedCO2clouds.F to not use "newunit" to open file 2552 (it is perfectly legitimate F2008 Fortran, but older compiler such as gfortran 2553 on local LMD machines are not there yet). -
trunk/LMDZ.MARS/libf/phymars/callsedim.F
r1779 r1913 13 13 & igcm_ccnco2_mass, igcm_ccnco2_number, 14 14 & igcm_co2_ice 15 USE comcstfi_h 15 USE newsedim_mod, ONLY: newsedim 16 USE comcstfi_h, ONLY: g 16 17 IMPLICIT NONE 17 18 … … 37 38 c ------------- 38 39 39 #include "callkeys.h"40 include "callkeys.h" 40 41 41 42 c … … 371 372 372 373 call newsedim(ngrid,nlay,1,1,ptimestep, 373 & pplev,masse,epaisseur,zt,rd(ir), rho_dust,qr(1,1,ir),374 & pplev,masse,epaisseur,zt,rd(ir),(/rho_dust/),qr(1,1,ir), 374 375 & wq,0.5) 375 376 -
trunk/LMDZ.MARS/libf/phymars/co2cloud.F
r1911 r1913 18 18 & rho_dust, nuiceco2_sed, nuiceco2_ref, 19 19 & rho_ice_co2,r3n_q,rho_ice,nuice_sed 20 20 USE newsedim_mod, ONLY: newsedim 21 21 IMPLICIT NONE 22 22 … … 156 156 double precision :: Qtemp 157 157 double precision :: ltemp1(10000),ltemp2(10000) 158 integer :: nelem,lebon1,lebon2,uQext 158 integer :: nelem,lebon1,lebon2 159 integer,parameter :: uQext=555 159 160 DOUBLE PRECISION n_aer(nbinco2_cld),Rn,No,n_derf,dev2 160 161 DOUBLE PRECISION Qext1bins2(ngrid,nlay) … … 254 255 STOP 255 256 endif 256 open(newunit=uQext,file=trim(datafile)// 257 ! open(newunit=uQext,file=trim(datafile)// 258 open(unit=uQext,file=trim(datafile)// 257 259 & '/optprop_co2ice_1mic.dat' 258 260 & ,FORM='formatted') -
trunk/LMDZ.MARS/libf/phymars/gwprofil_mod.F
r1911 r1913 1 MODULE gwprofil_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 SUBROUTINE GWPROFIL 2 8 * ( klon, klev … … 211 217 531 CONTINUE 212 218 213 RETURN 214 END 219 END SUBROUTINE GWPROFIL 220 221 END MODULE gwprofil_mod -
trunk/LMDZ.MARS/libf/phymars/improvedCO2clouds.F
r1911 r1913 167 167 integer nelem,lebon1,lebon2 168 168 double precision :: ltemp1(130),ltemp2(130) 169 integer ibin,uMeteor,j 169 integer ibin,j 170 integer,parameter :: uMeteor=666 170 171 171 172 IF (firstcall) THEN … … 254 255 endif 255 256 !used Variables 256 open(newunit=uMeteor,file=trim(datafile)// 257 ! open(newunit=uMeteor,file=trim(datafile)// 258 open(unit=uMeteor,file=trim(datafile)// 257 259 & '/Meteo_flux_Plane.dat' 258 260 & ,FORM='formatted') -
trunk/LMDZ.MARS/libf/phymars/newsedim_mod.F
r1911 r1913 1 MODULE newsedim_mod 2 3 IMPLICIT NONE 4 5 CONTAINS 6 1 7 SUBROUTINE newsedim(ngrid,nlay,naersize,nrhosize,ptimestep, 2 8 & pplev,masse,epaisseur,pt,rd,rho,pqi,wq,beta) 3 USE comcstfi_h 9 USE comcstfi_h, ONLY: r,g 4 10 IMPLICIT NONE 5 11 … … 209 215 210 216 211 RETURN 212 END 213 217 END SUBROUTINE newsedim 218 219 END MODULE newsedim_mod 220 -
trunk/LMDZ.MARS/libf/phymars/orodrag_mod.F
r1912 r1913 78 78 use dimradmars_mod, only: ndlo2 79 79 USE gwstress_mod, ONLY: gwstress 80 USE gwprofil_mod, ONLY: gwprofil 80 81 USE comcstfi_h, ONLY: g, cpp 81 82 implicit none … … 123 124 integer ji,jk,jl,klevm1,ilevp1 124 125 C real gkwake 125 real ztmst,pvar(NDLO2,4),ztauf,zrtmst,zdelp,zb,zc,zbet 126 real ztmst,pvar(NDLO2,4),ztauf(NDLO2,klev+1) 127 real zrtmst,zdelp,zb,zc,zbet 126 128 real zconb,zabsv,zzd1,ratio,zust,zvst,zdis,ztemp 127 129 C
Note: See TracChangeset
for help on using the changeset viewer.