- Timestamp:
- 2019-12-11T14:35:26+01:00 (4 years ago)
- Location:
- NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019
- Property svn:externals
-
old new 2 2 ^/utils/build/makenemo@HEAD makenemo 3 3 ^/utils/build/mk@HEAD mk 4 ^/utils/tools @HEADtools4 ^/utils/tools_dev_r11751_ENHANCE-05_SimonM-Harmonic_Analysis@HEAD tools 5 5 ^/vendors/AGRIF/dev@HEAD ext/AGRIF 6 6 ^/vendors/FCM@HEAD ext/FCM
-
- Property svn:externals
-
NEMO/branches/2019/dev_r12072_MERGE_OPTION2_2019/src/OCE/IOM/iom.F90
r12166 r12184 56 56 LOGICAL, PUBLIC, PARAMETER :: lk_iomput = .FALSE. !: iom_put flag 57 57 #endif 58 PUBLIC iom_init, iom_ swap, iom_open, iom_close, iom_setkt, iom_varid, iom_get, iom_get_var58 PUBLIC iom_init, iom_init_closedef, iom_swap, iom_open, iom_close, iom_setkt, iom_varid, iom_get, iom_get_var 59 59 PUBLIC iom_chkatt, iom_getatt, iom_putatt, iom_getszuld, iom_rstput, iom_delay_rst, iom_put 60 PUBLIC iom_use, iom_context_finalize, iom_ miss_val60 PUBLIC iom_use, iom_context_finalize, iom_update_file_name, iom_miss_val 61 61 62 62 PRIVATE iom_rp0d, iom_rp1d, iom_rp2d, iom_rp3d … … 65 65 #if defined key_iomput 66 66 PRIVATE iom_set_domain_attr, iom_set_axis_attr, iom_set_field_attr, iom_set_file_attr, iom_get_file_attr, iom_set_grid_attr 67 PRIVATE set_grid, set_grid_bounds, set_scalar, set_xmlatt, set_mooring, iom_ update_file_name, iom_sdate67 PRIVATE set_grid, set_grid_bounds, set_scalar, set_xmlatt, set_mooring, iom_sdate 68 68 PRIVATE iom_set_rst_context, iom_set_rstw_active, iom_set_rstr_active 69 69 # endif … … 93 93 CONTAINS 94 94 95 SUBROUTINE iom_init( cdname, fname, ld_tmppatch )95 SUBROUTINE iom_init( cdname, fname, ld_tmppatch, ld_closedef ) 96 96 !!---------------------------------------------------------------------- 97 97 !! *** ROUTINE *** … … 103 103 CHARACTER(len=*), OPTIONAL, INTENT(in) :: fname 104 104 LOGICAL , OPTIONAL, INTENT(in) :: ld_tmppatch 105 LOGICAL , OPTIONAL, INTENT(in) :: ld_closedef 105 106 #if defined key_iomput 106 107 ! … … 117 118 INTEGER :: nldi_save, nlei_save !: and close boundaries in output files 118 119 INTEGER :: nldj_save, nlej_save !: 120 LOGICAL :: ll_closedef = .TRUE. 119 121 !!---------------------------------------------------------------------- 120 122 ! … … 131 133 IF( njmpp + jpj - 1 == jpjglo ) nlej = jpj 132 134 ENDIF 135 IF ( PRESENT(ld_closedef) ) ll_closedef = ld_closedef 133 136 ! 134 137 ALLOCATE( zt_bnds(2,jpk), zw_bnds(2,jpk) ) … … 269 272 ENDIF 270 273 ! 271 ! end file definition274 ! set time step length 272 275 dtime%second = rdt 273 276 CALL xios_set_timestep( dtime ) 274 CALL xios_close_context_definition() 275 CALL xios_update_calendar( 0 ) 277 ! 278 ! conditional closure of context definition 279 IF ( ll_closedef ) CALL iom_init_closedef 276 280 ! 277 281 DEALLOCATE( zt_bnds, zw_bnds ) … … 284 288 ! 285 289 END SUBROUTINE iom_init 290 291 SUBROUTINE iom_init_closedef 292 !!---------------------------------------------------------------------- 293 !! *** SUBROUTINE iom_init_closedef *** 294 !!---------------------------------------------------------------------- 295 !! 296 !! ** Purpose : Closure of context definition 297 !! 298 !!---------------------------------------------------------------------- 299 300 CALL xios_close_context_definition() 301 CALL xios_update_calendar( 0 ) 302 303 END SUBROUTINE iom_init_closedef 286 304 287 305 SUBROUTINE iom_set_rstw_var_active(field)
Note: See TracChangeset
for help on using the changeset viewer.