Ignore:
Timestamp:
May 9, 2023, 5:13:31 PM (18 months ago)
Author:
evignon
Message:

fix issue in phylmdiso from commit 4526 in phylmd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/surf_landice_mod.F90

    r4523 r4528  
    490490!****************************************************************************************
    491491    IF (ok_bs) THEN
    492       precip_totsnow=precip_snow+precip_bs
    493       evap_totsnow=evap-fluxbs ! flux bs is positive towards the surface (snow erosion)
     492      precip_totsnow(:)=precip_snow(:)+precip_bs(:)
     493      evap_totsnow(:)=evap(:)-fluxbs(:) ! flux bs is positive towards the surface (snow erosion)
    494494    ELSE
    495       precip_totsnow=precip_snow
    496       evap_totsnow=evap
     495      precip_totsnow(:)=precip_snow(:)
     496      evap_totsnow(:)=evap(:)
    497497    ENDIF
    498498
Note: See TracChangeset for help on using the changeset viewer.