Changeset 4072 for trunk/LMDZ.COMMON/libf/evolution/pem.F90
- Timestamp:
- Feb 16, 2026, 11:41:37 AM (13 days ago)
- File:
-
- 1 edited
-
trunk/LMDZ.COMMON/libf/evolution/pem.F90 (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/pem.F90
r4071 r4072 28 28 use config, only: read_rundef 29 29 use display, only: print_ini, print_end, print_msg 30 use evolution, only: n_yr_run, n_yr_sim, n max_yr_sim, nmax_yr_run, dt, idt, r_plnt2earth_yr, pem_ini_date30 use evolution, only: n_yr_run, n_yr_sim, ntot_yr_sim, nmax_yr_run, dt, idt, r_plnt2earth_yr, pem_ini_date 31 31 use geometry, only: ngrid, nslope, nday, nsoil_PCM, nsoil, cell_area, total_surface, nlayer 32 32 use glaciers, only: h2oice_flow, co2ice_flow, flow_co2glaciers, flow_h2oglaciers 33 33 use ice_table, only: icetable_equilibrium, icetable_dynamic, icetable_depth, icetable_thickness, ice_porefilling, evolve_ice_table 34 use info, only: read_info, update_info35 34 use layered_deposits, only: layering, do_layering, del_layering, evolve_layering, ptrarray, layering2surfice, surfice2layering 36 35 use maths, only: pi … … 51 50 use tracers, only: adapt_tracers2pressure, build4PCM_tracers, nq 52 51 use utility, only: real2str 52 use workflow_status, only: read_workflow_status, update_workflow_status 53 53 use xios_data, only: load_xios_data 54 54 … … 163 163 call ini_allocation() 164 164 165 ! Read the duration information of the simulation166 call read_ info()165 ! Read the duration information of the workflow 166 call read_workflow_status() 167 167 168 168 ! Read the PEM parameters … … 283 283 n_yr_run = 0 284 284 idt = 0 285 do while (n_yr_run < min(nmax_yr_runorb,nmax_yr_run) .and. n_yr_sim < n max_yr_sim)286 call print_msg('**** Iteration of the PEM leg (Planetary years): '//real2str(n_yr_run + dt))285 do while (n_yr_run < min(nmax_yr_runorb,nmax_yr_run) .and. n_yr_sim < ntot_yr_sim) 286 call print_msg('**** Iteration of the PEM run [Planetary years]: '//real2str(n_yr_run + dt)) 287 287 ! Evolve global surface pressure 288 288 call evolve_pressure(d_co2ice,delta_co2_ads,do_sorption,ps_avg_glob_old,ps_avg_glob,ps_avg) … … 445 445 if (stopcrit%stop_code() == 0 .and. n_yr_run >= nmax_yr_run) stopcrit%nmax_yr_run_reached = .true. 446 446 if (stopcrit%stop_code() == 0 .and. n_yr_run >= nmax_yr_runorb) stopcrit%nmax_yr_runorb_reached = .true. 447 if (stopcrit%stop_code() == 0 .and. n_yr_sim >= n max_yr_sim) stopcrit%nmax_yr_sim_reached = .true.447 if (stopcrit%stop_code() == 0 .and. n_yr_sim >= ntot_yr_sim) stopcrit%nmax_yr_sim_reached = .true. 448 448 if (stopcrit%stop_code() == 0 .and. timewall .and. real(c2 - c1,dp)/real(cr,dp) >= timelimit - antetime) stopcrit%time_limit_reached = .true. 449 449 if (stopcrit%is_any_set()) then … … 452 452 else 453 453 call print_msg('**** This run has achieved '//real2str(n_yr_run)//' Planetary years.') 454 call print_msg('**** The chained simulationhas achieved '//real2str(n_yr_sim)//' Planetary years.')454 call print_msg('**** The workflow has achieved '//real2str(n_yr_sim)//' Planetary years.') 455 455 call print_msg('**** This run is continuing!') 456 456 call print_msg('****') … … 501 501 call write_restart(ps4PCM,pa4PCM,preff4PCM,q4PCM,teta4PCM,air_mass4PCM) 502 502 503 ! Update the duration information of the simulation504 call update_ info(n_yr_run,stopcrit%stop_code(),n_yr_sim,nmax_yr_sim)503 ! Update the duration information of the workflow 504 call update_workflow_status(n_yr_run,stopcrit%stop_code(),n_yr_sim,ntot_yr_sim) 505 505 506 506 ! Deallocation
Note: See TracChangeset
for help on using the changeset viewer.
