- Timestamp:
- 2019-10-31T16:30:50+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11756_SI3restart_XIOS/src/ICE/icedia.F90
r11837 r11840 202 202 IF( ice_dia_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'ice_dia_init : unable to allocate arrays' ) ! allocate tke arrays 203 203 CALL ice_dia_rst( 'READ' ) ! read or initialize all required files 204 IF(lwxios) THEN 205 CALL iom_set_rstw_var_active(rsti_wfields, 'frc_voltop' ) 206 CALL iom_set_rstw_var_active(rsti_wfields, 'frc_volbot' ) 207 CALL iom_set_rstw_var_active(rsti_wfields, 'frc_temtop' ) 208 CALL iom_set_rstw_var_active(rsti_wfields, 'frc_tembot' ) 209 CALL iom_set_rstw_var_active(rsti_wfields, 'frc_sal' ) 210 CALL iom_set_rstw_var_active(rsti_wfields, 'vol_loc_ini') 211 CALL iom_set_rstw_var_active(rsti_wfields, 'tem_loc_ini') 212 CALL iom_set_rstw_var_active(rsti_wfields, 'sal_loc_ini') 213 ENDIF 204 214 ENDIF 205 215 ! … … 267 277 ! Write in numriw (if iter == nitrst) 268 278 ! ------------------ 269 CALL iom_rstput( iter, nitrst, numriw, 'frc_voltop' , frc_voltop ) 270 CALL iom_rstput( iter, nitrst, numriw, 'frc_volbot' , frc_volbot ) 271 CALL iom_rstput( iter, nitrst, numriw, 'frc_temtop' , frc_temtop ) 272 CALL iom_rstput( iter, nitrst, numriw, 'frc_tembot' , frc_tembot ) 273 CALL iom_rstput( iter, nitrst, numriw, 'frc_sal' , frc_sal ) 274 CALL iom_rstput( iter, nitrst, numriw, 'vol_loc_ini', vol_loc_ini ) 275 CALL iom_rstput( iter, nitrst, numriw, 'tem_loc_ini', tem_loc_ini ) 276 CALL iom_rstput( iter, nitrst, numriw, 'sal_loc_ini', sal_loc_ini ) 279 IF(lwxios) CALL iom_swap( cwixios_context ) 280 CALL iom_rstput( iter, nitrst, numriw, 'frc_voltop' , frc_voltop, ldxios = lwxios ) 281 CALL iom_rstput( iter, nitrst, numriw, 'frc_volbot' , frc_volbot, ldxios = lwxios ) 282 CALL iom_rstput( iter, nitrst, numriw, 'frc_temtop' , frc_temtop, ldxios = lwxios ) 283 CALL iom_rstput( iter, nitrst, numriw, 'frc_tembot' , frc_tembot, ldxios = lwxios ) 284 CALL iom_rstput( iter, nitrst, numriw, 'frc_sal' , frc_sal, ldxios = lwxios ) 285 CALL iom_rstput( iter, nitrst, numriw, 'vol_loc_ini', vol_loc_ini, ldxios = lwxios ) 286 CALL iom_rstput( iter, nitrst, numriw, 'tem_loc_ini', tem_loc_ini, ldxios = lwxios ) 287 CALL iom_rstput( iter, nitrst, numriw, 'sal_loc_ini', sal_loc_ini, ldxios = lwxios ) 288 IF(lwxios) CALL iom_swap( cxios_context ) 277 289 ! 278 290 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.