Changeset 2007
- Timestamp:
- Oct 18, 2018, 9:59:39 AM (6 years ago)
- Location:
- trunk/LMDZ.MARS/libf
- Files:
-
- 1 deleted
- 1 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/aeronomars/calchim.F90
r2006 r2007 1 subroutine calchim _asis(ngrid,nlayer,nq,&1 subroutine calchim(ngrid,nlayer,nq, & 2 2 ptimestep,pplay,pplev,pt,pdt,dist_sol,mu0, & 3 3 zzlev,zzlay,zday,pq,pdq,dqchim,dqschim,dqcloud, & … … 658 658 if (photochem) then 659 659 660 call photochemistry _asis(nlayer,nq,&660 call photochemistry(nlayer,nq, & 661 661 ig,lswitch,zycol,szacol,ptimestep, & 662 662 zpress,ztemp,zdens,zmmean,dist_sol, & -
trunk/LMDZ.MARS/libf/aeronomars/photochemistry.F90
r2006 r2007 13 13 !***************************************************************** 14 14 15 subroutine photochemistry _asis(nlayer, nq,&15 subroutine photochemistry(nlayer, nq, & 16 16 ig, lswitch, zycol, sza, ptimestep, press, & 17 17 temp, dens, zmmean, dist_sol, surfdust1d, & … … 141 141 !=================================================================== 142 142 143 call photolysis _asis(nlayer, lswitch, press, temp, sza, tau, zmmean, dist_sol, &144 143 call photolysis(nlayer, lswitch, press, temp, sza, tau, zmmean, dist_sol, & 144 rm(:,i_co2), rm(:,i_o3), v_phot) 145 145 146 146 ! save o3 photolysis for output … … 226 226 call dgesv(nesp,1,mat,nesp,indx,cnew,nesp,code) 227 227 #else 228 write(*,*) "photochemistry _asiserror, missing LAPACK routine dgesv"228 write(*,*) "photochemistry error, missing LAPACK routine dgesv" 229 229 stop 230 230 #endif … … 345 345 call dgesv(nesp,1,mat,nesp,indx,cnew,nesp,code) 346 346 #else 347 write(*,*) "photochemistry _asiserror, missing LAPACK routine dgesv"347 write(*,*) "photochemistry error, missing LAPACK routine dgesv" 348 348 stop 349 349 #endif … … 1850 1850 end subroutine chimtogcm 1851 1851 1852 end subroutine photochemistry _asis1853 1852 end subroutine photochemistry 1853 -
trunk/LMDZ.MARS/libf/aeronomars/photolysis.F90
r2006 r2007 1 1 !========================================================================== 2 2 3 subroutine photolysis _asis(nlayer, &4 5 3 subroutine photolysis(nlayer, & 4 lswitch, press, temp, sza, tauref, & 5 zmmean, dist_sol, rmco2, rmo3, v_phot) 6 6 7 7 !========================================================================== -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r1996 r2007 241 241 real zcondicea_co2microp(ngrid,nlayer) 242 242 c Variables used by the photochemistry 243 logical :: asis ! true : adaptative semi-implicit symmetric (asis) chemical solver244 ! false : euler backward chemical solver245 243 REAL surfdust(ngrid,nlayer) ! dust surface area (m2/m3, if photochemistry) 246 244 REAL surfice(ngrid,nlayer) ! ice surface area (m2/m3, if photochemistry) … … 1588 1586 $ surfdust, surfice) 1589 1587 ! call photochemistry 1590 ! asis = .false. euler-backward scheme1591 ! asis = .true. asis scheme1592 1593 asis = .true.1594 1595 if (asis) then1596 call calchim_asis(ngrid,nlayer,nq,1597 & ptimestep,zplay,zplev,pt,pdt,dist_sol,mu0,1598 $ zzlev,zzlay,zday,pq,pdq,zdqchim,zdqschim,1599 $ zdqcloud,zdqscloud,tauref,co2ice,1600 $ pu,pdu,pv,pdv,surfdust,surfice)1601 else1602 1588 call calchim(ngrid,nlayer,nq, 1603 1589 & ptimestep,zplay,zplev,pt,pdt,dist_sol,mu0,
Note: See TracChangeset
for help on using the changeset viewer.