Changeset 1493


Ignore:
Timestamp:
Nov 4, 2015, 8:58:27 PM (9 years ago)
Author:
mturbet
Message:

some corrections

Location:
trunk/LMDZ.GENERIC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/README

    r1485 r1493  
    11001100== 22/10/2015 == MT
    11011101- Cleaning of condense_co2.F90.
     1102
     1103== 04/11/2015 == MT
     1104- Corrections of bugs in phyetat0.F90 (vap tracer) and in physiq.F90 (ice evolution scheme).
  • trunk/LMDZ.GENERIC/libf/phystd/phyetat0.F90

    r1421 r1493  
    376376  do iq=1,nq
    377377    txt=tname(iq)
    378     if (txt.eq."h2o_vap") then
     378   
     379    !! There was a bug here. MT2015.
     380   
     381    !if (txt.eq."h2o_vap") then
    379382      ! There is no surface tracer for h2o_vap;
    380383      ! "h2o_ice" should be loaded instead
    381       txt="h2o_ice"
    382       write(*,*) 'phyetat0: loading surface tracer', &
    383                            ' h2o_ice instead of h2o_vap'
    384     endif
     384     ! txt="h2o_ice"
     385     ! write(*,*) 'phyetat0: loading surface tracer', &
     386     !                      ' h2o_ice instead of h2o_vap'
     387    !endif
     388   
    385389    call get_field(txt,qsurf(:,iq),found,indextime)
    386390    if (.not.found) then
  • trunk/LMDZ.GENERIC/libf/phystd/physiq.F90

    r1485 r1493  
    18311831
    18321832            ! enforce ice conservation
    1833             ice_tot= SUM(qsurf_hist(:,igcm_h2o_ice)*area(:) )
     1833            ice_tot= SUM(qsurf_hist(:,igcm_h2o_ice)*area(:) )/SUM(area(:))
    18341834            qsurf_hist(:,igcm_h2o_ice) = qsurf_hist(:,igcm_h2o_ice)*(icesrf/ice_tot)
    18351835
Note: See TracChangeset for help on using the changeset viewer.