Changeset 2255
- Timestamp:
- Mar 10, 2020, 5:01:24 PM (5 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2252 r2255 2875 2875 == 06/03/2020 == AB 2876 2876 Bug fix following r2248 in aeropacity_mod and topmons_mod : since dsodust, dsords and dsotop are diagnostic physiq_mod variables, we don't want them to be reinitialized at each call of aeropacity_mod and topmons_mod, but we initialize them once and for all at the beginning of physiq_mod instead. 2877 2878 == 10/03/2020 == AB 2879 Bug fix in topmons_mod : the array rhobarz(ig,l) (density at interlayer levels) had only nlayer allocated instead of nlayer+1 (caused issues in calculating the topdust detrainment at the top of the model) -
trunk/LMDZ.MARS/libf/phymars/topmons_mod.F90
r2252 r2255 156 156 ! Entrainment 157 157 REAL entr(ngrid) ! entrainment flux 158 REAL rho(ngrid,nlayer),rhobarz(ngrid,nlayer ) ! density, density at the levels158 REAL rho(ngrid,nlayer),rhobarz(ngrid,nlayer+1) ! density, density at the levels 159 159 REAL masse(ngrid,nlayer) ! air mass 160 160 REAL masse_pbl(ngrid) ! total air mass within the PBL … … 458 458 rhobarz(:,l)=pplev(:,l)/(r*0.5*(pt(:,l)+pt(:,l-1))) 459 459 ENDDO 460 rhobarz(:,nlayer+1)=0. !top of the model 460 461 !! Mass computation 461 462 DO l=1,nlayer
Note: See TracChangeset
for help on using the changeset viewer.