Changeset 1503 for trunk/LMDZ.MARS/libf
- Timestamp:
- Nov 26, 2015, 8:41:46 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/aeronomars/photochemistry_asis.F90
r1499 r1503 177 177 178 178 phychemrat = nint(ptimestep/stimestep) 179 phychemrat = 1 ! test 2014_004179 phychemrat = 1 180 180 181 181 ctimestep = ptimestep/real(phychemrat) … … 280 280 if (dt_corrected /= dt_guess) then ! the timestep has been modified 281 281 282 ! form the matrix identity + mat*dt_ guess282 ! form the matrix identity + mat*dt_corrected 283 283 284 284 mat(:,:) = mat1(:,:)*dt_corrected … … 314 314 dt_guess = dt_corrected ! first-guess timestep for next iteration 315 315 316 ! if (dt_corrected == dt_min) then317 ! print *, "ilev = ", ilev, " sza = ", sza, " iter = ", iter(ilev)318 ! end if319 320 ! do iesp = 1,nesp321 ! if (c(ilev,iesp) < 0.) then322 ! print *, "sza = ", sza, " species ", iesp, " = ", c(ilev,iesp)/dens(ilev)323 ! print *, "ilev = ", ilev, " iter = ", iter(ilev), " dt_corrected = ", dt_corrected324 ! print *, "e_o = ", e1, " e_ho2 = ", e2, " e_no2 = ", e3325 ! end if326 ! end do327 328 316 end do ! while (time < ptimestep) 329 330 ! if (iter(ilev) >= 80) then331 ! print *, "*** iter = ", iter(ilev), " ilev = ", ilev, " sza = ", sza332 ! print *, " dt_corrected = ", dt_corrected333 ! stop334 ! end if335 336 ! do iesp = 1,nesp337 ! if (c(ilev,iesp) < 0.) then338 ! print *, "final value is negative!!"339 ! print *, "sza = ", sza, " species ", iesp, " = ", c(ilev,iesp)/dens(ilev)340 ! print *, "ilev = ", ilev, " iter = ", iter(ilev), " dt_corrected = ", dt_corrected341 ! print *, "e_o = ", e1, " e_ho2 = ", e2, " e_no2 = ", e3342 ! stop343 ! end if344 ! end do345 346 ! save cold and dt for next timestep347 348 ! cold3d(ig,ilev,:) = cold(:)349 317 350 318 end do ! ilev
Note: See TracChangeset
for help on using the changeset viewer.