Changeset 6577 for branches/UKMO
- Timestamp:
- 2016-05-19T15:23:16+02:00 (8 years ago)
- Location:
- branches/UKMO/dev_r5518_GC3_couple_pkg/NEMOGCM/NEMO/OPA_SRC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GC3_couple_pkg/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r6574 r6577 188 188 ALLOCATE( a_i(jpi,jpj,1) , STAT=ierr(2) ) ! used in sbcice_if.F90 (done here as there is no sbc_ice_if_init) 189 189 #endif 190 ALLOCATE( xcplmask(jpi,jpj,0:nn_cplmodel) , STAT=ierr(3) ) 190 !ALLOCATE( xcplmask(jpi,jpj,0:nn_cplmodel) , STAT=ierr(3) ) 191 ! Hardwire only two models as nn_cplmodel has not been read in 192 ! from the namelist yet. 193 ALLOCATE( xcplmask(jpi,jpj,0:2) , STAT=ierr(3) ) 191 194 ! 192 195 sbc_cpl_alloc = MAXVAL( ierr ) … … 274 277 275 278 ! ! allocate sbccpl arrays 276 IF( sbc_cpl_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'sbc_cpl_alloc : unable to allocate arrays' )279 !IF( sbc_cpl_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'sbc_cpl_alloc : unable to allocate arrays' ) 277 280 278 281 ! ================================ ! -
branches/UKMO/dev_r5518_GC3_couple_pkg/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90
r6574 r6577 284 284 CALL wrk_dealloc( jpi,jpj, ztmp1, ztmp2 ) 285 285 ! 286 ! In coupled mode get extra fields from CICE for passing back to atmosphere 287 288 IF ( ksbc == jp_purecpl ) CALL cice_sbc_hadgam(nit000) 289 ! 286 290 IF( nn_timing == 1 ) CALL timing_stop('cice_sbc_init') 287 291 ! … … 708 712 IF( nn_timing == 1 ) CALL timing_start('cice_sbc_hadgam') 709 713 ! 710 IF( kt == nit000 ) THEN711 IF(lwp) WRITE(numout,*)'cice_sbc_hadgam'712 IF( sbc_cpl_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'sbc_cpl_alloc : unable to allocate arrays' )713 ENDIF714 715 714 ! ! =========================== ! 716 715 ! ! Prepare Coupling fields ! -
branches/UKMO/dev_r5518_GC3_couple_pkg/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r6574 r6577 265 265 ENDIF 266 266 ! 267 IF( lk_oasis ) CALL sbc_cpl_init (nn_ice) ! OASIS initialisation. must be done before: (1) first time step 268 ! ! (2) the use of nn_fsbc 267 IF( lk_oasis ) THEN 268 IF( sbc_cpl_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'sbc_cpl_alloc : unable to allocate arrays' ) 269 CALL sbc_cpl_init (nn_ice) ! OASIS initialisation. must be done before: (1) first time step 270 ! (2) the use of nn_fsbc 271 ENDIF 269 272 270 273 ! nn_fsbc initialization if OPA-SAS coupling via OASIS -
branches/UKMO/dev_r5518_GC3_couple_pkg/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90
r6576 r6577 68 68 USE icbini ! handle bergs, initialisation 69 69 USE icbstp ! handle bergs, calving, themodynamics and transport 70 USE sbccpl 70 71 USE cpl_oasis3 ! OASIS3 coupling 71 72 USE c1d ! 1D configuration … … 165 166 CALL Agrif_Step( stp ) ! AGRIF: time stepping 166 167 #else 167 CALL stp( istp ) ! standard time stepping 168 IF (lk_oasis) CALL sbc_cpl_snd( istp ) ! Coupling to atmos 169 CALL stp( istp ) 170 ! We don't couple on the final timestep because 171 ! our restart file has already been written 172 ! and contains all the necessary data for a 173 ! restart. sbc_cpl_snd could be called here 174 ! but it would require 175 ! a) A test to ensure it was not performed 176 ! on the very last time-step 177 ! b) the presence of another call to 178 ! sbc_cpl_snd call prior to the main DO loop 179 ! This solution produces identical results 180 ! with fewer lines of code. 168 181 #endif 169 182 istp = istp + 1 -
branches/UKMO/dev_r5518_GC3_couple_pkg/NEMOGCM/NEMO/OPA_SRC/step.F90
r6576 r6577 358 358 ! Coupled mode 359 359 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 360 IF( lk_oasis ) CALL sbc_cpl_snd( kstp ) ! coupled mode : field exchanges360 !IF( lk_oasis ) CALL sbc_cpl_snd( kstp ) ! coupled mode : field exchanges 361 361 ! 362 362 #if defined key_iomput
Note: See TracChangeset
for help on using the changeset viewer.