Changeset 7060 for branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
- Timestamp:
- 2016-10-20T16:16:29+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r6459 r7060 111 111 112 112 ! ! overwrite namelist parameter using CPP key information 113 IF( Agrif_Root() ) THEN ! AGRIF zoom 114 IF( lk_lim2 ) nn_ice = 2 115 IF( lk_lim3 ) nn_ice = 3 116 IF( lk_cice ) nn_ice = 4 117 ENDIF 118 IF( cp_cfg == 'gyre' ) THEN ! GYRE configuration 119 ln_ana = .TRUE. 120 nn_ice = 0 121 ENDIF 122 113 #if defined key_agrif 114 IF( Agrif_Root() ) THEN ! AGRIF zoom (cf r1242: possibility to run without ice in fine grid) 115 IF( lk_lim2 ) nn_ice = 2 116 IF( lk_lim3 ) nn_ice = 3 117 IF( lk_cice ) nn_ice = 4 118 ENDIF 119 #else 120 IF( lk_lim2 ) nn_ice = 2 121 IF( lk_lim3 ) nn_ice = 3 122 IF( lk_cice ) nn_ice = 4 123 #endif 124 125 IF( cp_cfg == 'gyre' ) ln_ana = .TRUE. ! GYRE configuration 126 123 127 IF(lwp) THEN ! Control print 124 128 WRITE(numout,*) ' Namelist namsbc (partly overwritten with CPP key setting)' … … 195 199 196 200 ! ! restartability 197 IF( ( nn_ice == 2 .OR. nn_ice ==3 ) .AND. .NOT.( ln_blk_clio .OR. ln_blk_core .OR. ln_cpl ) ) &198 & CALL ctl_stop( 'LIM sea-ice model requires a bulk formulation or coupled configuration' )199 201 IF( nn_ice == 4 .AND. .NOT.( ln_blk_core .OR. ln_cpl ) ) & 200 202 & CALL ctl_stop( 'CICE sea-ice model requires ln_blk_core or ln_cpl' ) … … 303 305 ! 304 306 IF( nn_ice == 3 ) CALL sbc_lim_init ! LIM3 initialisation 305 307 ! 306 308 IF( nn_ice == 4 ) CALL cice_sbc_init( nsbc ) ! CICE initialisation 307 309
Note: See TracChangeset
for help on using the changeset viewer.