Changeset 4157 for trunk/LMDZ.COMMON/libf/evolution/clim_state_rec.F90
- Timestamp:
- Mar 26, 2026, 4:29:10 PM (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/clim_state_rec.F90
r4147 r4157 25 25 ! VARIABLES 26 26 ! --------- 27 logical(k4), protected, private :: is_restart pem= .false. ! Flag to know if "restartevo.nc" exists27 logical(k4), protected, private :: is_restartevo = .false. ! Flag to know if "restartevo.nc" exists 28 28 29 29 contains … … 271 271 272 272 !======================================================================= 273 SUBROUTINE create_ nc_pem(nb_str_max)273 SUBROUTINE create_startevo(nb_str_max) 274 274 !----------------------------------------------------------------------- 275 275 ! NAME 276 ! create_ nc_pem276 ! create_startevo 277 277 ! 278 278 ! DESCRIPTION … … 414 414 415 415 ! File creation done 416 is_restart pem= .true.417 418 END SUBROUTINE create_ nc_pem419 !======================================================================= 420 421 !======================================================================= 422 SUBROUTINE write_restart pem(h2o_ice,co2_ice,tsoil,TI,icetable_depth,icetable_thickness,ice_porefilling,h2o_ads_reg,co2_ads_reg,layerings_map)416 is_restartevo = .true. 417 418 END SUBROUTINE create_startevo 419 !======================================================================= 420 421 !======================================================================= 422 SUBROUTINE write_restartevo(h2o_ice,co2_ice,tsoil,TI,icetable_depth,icetable_thickness,ice_porefilling,h2o_ads_reg,co2_ads_reg,layerings_map) 423 423 !----------------------------------------------------------------------- 424 424 ! NAME 425 ! write_restart pem425 ! write_restartevo 426 426 ! 427 427 ! DESCRIPTION … … 466 466 ! Create the file 467 467 nb_str_max = get_nb_str_max(layerings_map) 468 call create_ nc_pem(nb_str_max)468 call create_startevo(nb_str_max) 469 469 470 470 call print_msg('> Writing "re'//startevo_name//'"',LVL_NFO) 471 if (.not. is_restart pem) call stop_clean(__FILE__,__LINE__,'The file"'//startevo_name//'" has not been created',1)471 if (.not. is_restartevo) call stop_clean(__FILE__,__LINE__,'The file"'//startevo_name//'" has not been created',1) 472 472 473 473 ! Writing time counter … … 510 510 call close_nc('re'//startevo_name) 511 511 512 END SUBROUTINE write_restart pem512 END SUBROUTINE write_restartevo 513 513 !======================================================================= 514 514
Note: See TracChangeset
for help on using the changeset viewer.
