Ignore:
Timestamp:
Oct 11, 2023, 1:40:58 PM (14 months ago)
Author:
jbclement
Message:

PEM:

  • Correction of a bug in the initialization of constants. The correct modules are now used: 'comcstfi_h' (and no longer 'comconst_mod'!) in the general case and 'comcstfi_mod' in the case of generic model;
  • Addition of the variable 'ecritpem' in "run_PEM.def" to set the frequency of outputs in the "diagfi.nc". By default, 'ecritpem = 1' which means there is one output at each PEM year.

JBC

File:
1 edited

Legend:

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

    r3076 r3082  
    1313
    1414contains
    15 
    1615
    1716subroutine co2glaciers_evol(timelen,ngrid,nslope,iflat,subslope_dist,def_slope_mean,vmr_co2_PEM,ps_GCM,global_ave_ps_GCM,global_ave_ps_PEM,co2ice,flag_co2flow,flag_co2flow_mesh)
     
    101100
    102101
    103 
    104102subroutine compute_hmaxglaciers(ngrid,nslope,iflat,def_slope_mean,Tice,name_ice,hmax)
    105103
    106 use comconst_mod,  only: pi,g
    107104use abort_pem_mod, only: abort_pem
     105#ifndef CPP_STD
     106    use comcstfi_h,   only: pi, g
     107#else
     108    use comcstfi_mod, only: pi, g
     109#endif
    108110
    109111!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    181183!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    182184
    183 use comconst_mod,  only: pi
    184185use abort_pem_mod, only: abort_pem
    185 
     186#ifndef CPP_STD
     187    use comcstfi_h,   only: pi
     188#else
     189    use comcstfi_mod, only: pi
     190#endif
    186191
    187192implicit none
Note: See TracChangeset for help on using the changeset viewer.