Changeset 3515
- Timestamp:
- 2012-10-24T14:52:01+02:00 (12 years ago)
- Location:
- branches/2012/dev_r3385_NOCS04_HAMF/NEMOGCM/NEMO/OPA_SRC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_r3385_NOCS04_HAMF/NEMOGCM/NEMO/OPA_SRC/IOM/prtctl.F90
r3332 r3515 8 8 !!---------------------------------------------------------------------- 9 9 USE dom_oce ! ocean space and time domain variables 10 #if defined key_nemocice_decomp 11 USE ice_domain_size, only: nx_global, ny_global 12 #endif 10 13 USE in_out_manager ! I/O manager 11 14 USE lib_mpp ! distributed memory computing … … 431 434 ! array (cf. par_oce.F90). 432 435 436 #if defined key_nemocice_decomp 437 ijpi = ( nx_global+2-2*jpreci + (isplt-1) ) / isplt + 2*jpreci 438 ijpj = ( ny_global+2-2*jprecj + (jsplt-1) ) / jsplt + 2*jprecj 439 #else 433 440 ijpi = ( jpiglo-2*jpreci + (isplt-1) ) / isplt + 2*jpreci 434 #if defined key_nemocice_decomp435 ijpj = ( jpjglo+1-2*jprecj + (jsplt-1) ) / jsplt + 2*jprecj436 #else437 441 ijpj = ( jpjglo-2*jprecj + (jsplt-1) ) / jsplt + 2*jprecj 438 442 #endif -
branches/2012/dev_r3385_NOCS04_HAMF/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r3508 r3515 161 161 IF( nn_ice == 4 .AND. .NOT.( ln_blk_core .OR. lk_cpl ) ) & 162 162 & CALL ctl_stop( 'CICE sea-ice model requires ln_blk_core or lk_cpl' ) 163 IF( nn_ice == 4 .AND. ( .NOT. ( cp_cfg == 'orca' ) .OR. lk_agrif )) &164 & CALL ctl_stop( 'CICE sea-ice model currently only available in a global ORCA configuration withoutAGRIF' )163 IF( nn_ice == 4 .AND. lk_agrif ) & 164 & CALL ctl_stop( 'CICE sea-ice model not currently available with AGRIF' ) 165 165 IF( ( nn_ice == 3 .OR. nn_ice == 4 ) .AND. nn_ice_embd == 0 ) & 166 166 & CALL ctl_stop( 'LIM3 and CICE sea-ice models require nn_ice_embd = 2 or 3' ) -
branches/2012/dev_r3385_NOCS04_HAMF/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90
r3488 r3515 46 46 USE mppini ! shared/distributed memory setting (mpp_init routine) 47 47 USE domain ! domain initialization (dom_init routine) 48 #if defined key_nemocice_decomp 49 USE ice_domain_size, only: nx_global, ny_global 50 #endif 48 51 USE obcini ! open boundary cond. initialization (obc_ini routine) 49 52 USE bdyini ! open boundary cond. initialization (bdy_init routine) … … 255 258 ! than variables 256 259 IF( Agrif_Root() ) THEN 260 #if defined key_nemocice_decomp 261 jpi = ( nx_global+2-2*jpreci + (jpni-1) ) / jpni + 2*jpreci ! first dim. 262 jpj = ( ny_global+2-2*jprecj + (jpnj-1) ) / jpnj + 2*jprecj ! second dim. 263 #else 257 264 jpi = ( jpiglo-2*jpreci + (jpni-1) ) / jpni + 2*jpreci ! first dim. 258 #if defined key_nemocice_decomp259 jpj = ( jpjglo+1-2*jprecj + (jpnj-1) ) / jpnj + 2*jprecj ! second dim.260 #else261 265 jpj = ( jpjglo-2*jprecj + (jpnj-1) ) / jpnj + 2*jprecj ! second dim. 262 266 #endif
Note: See TracChangeset
for help on using the changeset viewer.