Changeset 1503 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Nov 26, 2015, 8:41:46 PM (9 years ago)
Author:
flefevre
Message:

Nettoyage du solveur chimique ASIS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/aeronomars/photochemistry_asis.F90

    r1499 r1503  
    177177
    178178phychemrat = nint(ptimestep/stimestep)
    179 phychemrat = 1 ! test 2014_004
     179phychemrat = 1
    180180
    181181ctimestep = ptimestep/real(phychemrat)
     
    280280   if (dt_corrected /= dt_guess) then  ! the timestep has been modified
    281281
    282 !  form the matrix identity + mat*dt_guess
     282!  form the matrix identity + mat*dt_corrected
    283283
    284284      mat(:,:) = mat1(:,:)*dt_corrected
     
    314314   dt_guess = dt_corrected     ! first-guess timestep for next iteration
    315315
    316 !  if (dt_corrected == dt_min) then
    317 !     print *, "ilev = ", ilev, " sza = ", sza, " iter = ", iter(ilev)
    318 !  end if
    319 
    320 !  do iesp = 1,nesp
    321 !     if (c(ilev,iesp) < 0.) then
    322 !        print *, "sza = ", sza, " species ", iesp, " = ", c(ilev,iesp)/dens(ilev)
    323 !        print *, "ilev = ", ilev, " iter = ", iter(ilev), " dt_corrected = ", dt_corrected
    324 !        print *, "e_o = ", e1, " e_ho2 = ", e2, " e_no2 = ", e3
    325 !     end if
    326 !  end do
    327 
    328316   end do ! while (time < ptimestep)
    329 
    330 !  if (iter(ilev) >= 80) then
    331 !     print *, "*** iter = ", iter(ilev), " ilev = ", ilev, " sza = ", sza
    332 !     print *, " dt_corrected = ", dt_corrected
    333 !     stop
    334 !  end if
    335 
    336 !  do iesp = 1,nesp
    337 !     if (c(ilev,iesp) < 0.) then
    338 !        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_corrected
    341 !        print *, "e_o = ", e1, " e_ho2 = ", e2, " e_no2 = ", e3
    342 !        stop
    343 !     end if
    344 !  end do
    345 
    346 !  save cold and dt for next timestep
    347 
    348 !  cold3d(ig,ilev,:) = cold(:)
    349317
    350318end do ! ilev
Note: See TracChangeset for help on using the changeset viewer.