Changeset 4035 for trunk/LMDZ.MARS/libf/aeronomars/molvis.F
- Timestamp:
- Jan 30, 2026, 12:40:55 PM (4 weeks ago)
- File:
-
- 1 edited
-
trunk/LMDZ.MARS/libf/aeronomars/molvis.F (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/aeronomars/molvis.F
r3466 r4035 6 6 7 7 SUBROUTINE molvis(ngrid,nlayer,ptimestep, 8 & pplay,pplev,pt,pdt euv,pdtconduc9 $ ,pvel,tsurf,zzlev,zzlay,zdvelmolvis)8 & pplay,pplev,pt,pdt, 9 $ pvel,tsurf,zzlev,zzlay,zdvelmolvis) 10 10 11 11 use conc_mod, only: cpnew, Akknew, rnew … … 31 31 integer,intent(in) :: ngrid ! number of atmospheric columns 32 32 integer,intent(in) :: nlayer ! number of atmospheric layers 33 REAL ptimestep 34 REAL pplay(ngrid,nlayer) 35 REAL pplev(ngrid,nlayer+1) 36 REAL zzlay(ngrid,nlayer) 37 REAL zzlev(ngrid,nlayer+1) 38 real pt(ngrid,nlayer) 39 real tsurf(ngrid) 40 REAL pvel(ngrid,nlayer) 41 REAL pdvel(ngrid,nlayer) 42 real pdteuv(ngrid,nlayer) 43 real pdtconduc(ngrid,nlayer) 33 REAL,INTENT(IN) :: ptimestep ! physics time step (s) 34 REAL,INTENT(IN) :: pplay(ngrid,nlayer) 35 REAL,INTENT(IN) :: pplev(ngrid,nlayer+1) 36 REAL,INTENT(IN) :: zzlay(ngrid,nlayer) 37 REAL,INTENT(IN) :: zzlev(ngrid,nlayer+1) 38 real,intent(in) :: pt(ngrid,nlayer) ! input temperature (K) 39 real,intent(in) :: pdt(ngrid,nlayer) ! input tendency on temperature (K/s) 40 real,intent(in) :: tsurf(ngrid) ! input ssurface temperature (K) 41 REAL,INTENT(IN) :: pvel(ngrid,nlayer) ! wind velocity (m/s) 44 42 45 real zdvelmolvis(ngrid,nlayer)43 real,intent(out) :: zdvelmolvis(ngrid,nlayer) ! tendency on velocity (m/s/s) 46 44 47 45 c local: … … 99 97 do ig=1,ngrid 100 98 101 zt(1)=pt(ig,1)+(pdt euv(ig,1)+pdtconduc(ig,1))*ptimestep99 zt(1)=pt(ig,1)+(pdt(ig,1))*ptimestep 102 100 zvel(1)=pvel(ig,1) 103 101 zlay(1)=zzlay(ig,1) … … 105 103 106 104 do l=2,nz 107 zt(l)=pt(ig,l)+(pdt euv(ig,l)+pdtconduc(ig,l))*ptimestep105 zt(l)=pt(ig,l)+(pdt(ig,l))*ptimestep 108 106 zvel(l)=pvel(ig,l) 109 107 zlay(l)=zzlay(ig,l)
Note: See TracChangeset
for help on using the changeset viewer.
