Ignore:
Timestamp:
Dec 16, 2025, 4:39:24 PM (5 weeks ago)
Author:
jbclement
Message:

PEM:
Apply documentation template everywhere: standardized headers format with short description, separators between functions/subroutines, normalized code sections, aligned dependencies/arguments/variables declaration.
JBC

File:
1 edited

Legend:

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

    r3989 r3991  
    2626
    2727PROGRAM pem
    28 
     28!-----------------------------------------------------------------------
     29! NAME
     30!     pem
     31!
     32! DESCRIPTION
     33!     Main entry point for the Planetary Evolution Model (PEM).
     34!
     35! AUTHORS & DATE
     36!     R. Vandemeulebrouck, 2022
     37!     L. Lange, 2022
     38!     JB Clement, 2023-2025
     39!
     40! NOTES
     41!     Drives initialization, run loop, and outputs for PEM/PCM coupling.
     42!-----------------------------------------------------------------------
     43
     44! DEPENDENCIES
     45! ------------
    2946use phyetat0_mod,          only: phyetat0
    3047use phyredem,              only: physdem0, physdem1
     
    99116#endif
    100117
     118! DECLARATION
     119! -----------
    101120implicit none
    102121
     
    106125include "iniprint.h"
    107126
     127! LOCAL VARIABLES
     128! ---------------
    108129! Same variable names as in the PCM
    109130integer, parameter :: ngridmx = 2 + (jjm - 1)*iim - 1/jjm
     
    256277#endif
    257278
    258 ! Loop variables
    259279integer :: i, l, ig, nnq, t, islope, ig_loop, islope_loop, isoil, icap
    260280real    :: totmass_ini
    261281logical :: num_str
    262282
    263 ! Code
    264 !-----
     283! CODE
     284! ----
    265285! Elapsed time with system clock
    266286call system_clock(count_rate = cr)
     
    682702        call stopping_crit_h2o(ngrid,nslope,cell_area,delta_h2o_adsorbed,delta_h2o_icetablesublim,h2o_ice,d_h2oice,S_atm_2_h2o,S_h2o_2_atm,S_atm_2_h2oice,S_h2oice_2_atm,stopCrit)
    683703        call balance_h2oice_reservoirs(ngrid,nslope,S_atm_2_h2o,S_h2o_2_atm,S_atm_2_h2oice,S_h2oice_2_atm,h2o_ice,d_h2oice,d_h2oice_new)
    684    
     704
    685705        do islope = 1,nslope
    686706            do ig = 1,ngrid
Note: See TracChangeset for help on using the changeset viewer.