Changeset 2950
- Timestamp:
- Apr 27, 2023, 11:14:41 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/evol_h2o_ice_s_mod_slope.F90
r2939 r2950 42 42 pos_tend=0. 43 43 neg_tend=0. 44 44 if (ngrid.NE.1) then ! to make sure we are not in 1D 45 45 do i=1,ngrid 46 46 do islope=1,nslope … … 54 54 enddo 55 55 enddo 56 57 if(neg_tend.GT.pos_tend .and. pos_tend.GT.0) then 56 if(neg_tend.GT.pos_tend .and. pos_tend.GT.0) then 58 57 do i=1,ngrid 59 58 do islope=1,nslope … … 65 64 enddo 66 65 enddo 67 elseif(neg_tend.LT.pos_tend .and. neg_tend.GT.0) then66 elseif(neg_tend.LT.pos_tend .and. neg_tend.GT.0) then 68 67 do i=1,ngrid 69 68 do islope=1,nslope … … 75 74 enddo 76 75 enddo 77 elseif(pos_tend.EQ.0 .OR. neg_tend.EQ.0) then76 elseif(pos_tend.EQ.0 .OR. neg_tend.EQ.0) then 78 77 print *, "Reason of stopping : There is either no water ice sublimating or no water ice increasing !!" 79 78 print *, "Tendencies on ice sublimating=", neg_tend … … 86 85 enddo 87 86 enddo 87 endif 88 88 endif 89 90 89 negative_part = 0. 91 90 … … 115 114 enddo 116 115 enddo 117 118 116 else ! ngrid==1; 117 qsurf(i,islope)=qsurf(i,islope)+new_tendencies(i,islope)*dt_pem 118 endif 119 119 120 120 END SUBROUTINE evol_h2o_ice_s_slope
Note: See TracChangeset
for help on using the changeset viewer.