Ignore:
Timestamp:
Nov 12, 2024, 6:35:33 PM (9 days ago)
Author:
jbclement
Message:

PEM:
Few corrections related to r3498 (time step from integer to real) and r3493 (Norbert Schorghofer's subroutines for dynamic ice table) in order to make the code work properly.
JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/pemetat0.F90

    r3498 r3512  
    326326                write(*,*)'PEM settings: failed loading <ice_table_depth>'
    327327                write(*,*)'will reconstruct the values of the ice table given the current state'
    328                 call computeice_table_equilibrium(ngrid,nslope,nsoil_PEM,watercaptag,watersurf_avg,watersoil_avg, TI_PEM(:,1,:),ice_table_depth,ice_table_thickness)
     328                ice_table_depth = -9999.
    329329                call update_soil_thermalproperties(ngrid,nslope,nsoil_PEM,d_h2oice,h2o_ice,global_avg_pressure,ice_table_depth,ice_table_thickness,TI_PEM)
    330330                do islope = 1,nslope
     
    335335            if (.not. found) then
    336336                write(*,*)'PEM settings: failed loading <ice_porefilling>'
    337                 ice_porefilling = 0.
     337                ice_porefilling = 1.
    338338            endif
    339339            write(*,*) 'PEMETAT0: ICE TABLE done'
     
    510510            write(*,*) 'PEMETAT0: Ice table done'
    511511        else if (icetable_dynamic) then
    512             ice_porefilling = 0.
    513             ice_table_depth = 0.
     512            ice_porefilling = 1.
     513            ice_table_depth = -9999.
    514514            call update_soil_thermalproperties(ngrid,nslope,nsoil_PEM,d_h2oice,h2o_ice,global_avg_pressure,ice_table_depth,ice_table_thickness,TI_PEM)
    515515            do islope = 1,nslope
Note: See TracChangeset for help on using the changeset viewer.