Ignore:
Timestamp:
Aug 12, 2024, 8:06:46 PM (17 months ago)
Author:
llange
Message:

Mars PCM
Following previous commit, fixing a bug: more frost than what is a the surface could sublimes (when working with lag layer only). It is corrected, not in a elegant way...
LL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F

    r3400 r3404  
    11211121     &                .and.lag_layer)) then
    11221122
    1123      
    1124 !                     zdqsdif_tot(ig)=-zqsurf(ig)/subtimestep
     1123                    if ((-zdqsdif_tot(ig)*subtimestep)
     1124     &                .ge.(zqsurf(ig))) then
     1125                          zdqsdif_tot(ig)=-zqsurf(ig)/subtimestep
     1126                    endif
     1127
    11251128                    if((h2o_ice_depth(ig,islope).gt.0)
    11261129     &                  .and. (zqsurf(ig) .lt. tol_frost)
Note: See TracChangeset for help on using the changeset viewer.