New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11949 for NEMO/branches/2019/dev_r11943_MERGE_2019/src/SAS/step.F90 – NEMO

Ignore:
Timestamp:
2019-11-22T15:29:17+01:00 (4 years ago)
Author:
acc
Message:

Merge in changes from 2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps. This just creates a fresh copy of this branch to use as the merge base. See ticket #2341

Location:
NEMO/branches/2019/dev_r11943_MERGE_2019/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11943_MERGE_2019/src

    • Property svn:mergeinfo deleted
  • NEMO/branches/2019/dev_r11943_MERGE_2019/src/SAS/step.F90

    r11536 r11949  
    4949 
    5050   !!---------------------------------------------------------------------- 
     51   !! time level indices 
     52   !!---------------------------------------------------------------------- 
     53   INTEGER, PUBLIC :: Nbb, Nnn, Naa, Nrhs          !! used by nemo_init 
     54   !!---------------------------------------------------------------------- 
    5155   !! NEMO/SAS 4.0 , NEMO Consortium (2018) 
    5256   !! $Id$ 
     
    7579#if defined key_agrif 
    7680      kstp = nit000 + Agrif_Nb_Step() 
     81      Kbb_a = Nbb; Kmm_a = Nnn; Krhs_a = Nrhs   ! agrif_oce module copies of time level indices 
    7782      IF ( lk_agrif_debug ) THEN 
    7883         IF ( Agrif_Root() .and. lwp) Write(*,*) '---' 
     
    96101      !           From SAS: ocean bdy data are wrong  (but we do not care) and ice bdy data are OK.   
    97102      !           This is not clean and should be changed in the future.  
    98       IF( ln_bdy     )       CALL bdy_dta ( kstp, kt_offset=+1 )   ! update dynamic & tracer data at open boundaries 
    99103      ! ==> 
    100                              CALL sbc    ( kstp )         ! Sea Boundary Condition (including sea-ice) 
     104      IF( ln_bdy     )       CALL bdy_dta( kstp,      Nnn, kt_offset=+1 )     ! update dynamic & tracer data at open boundaries 
     105                             CALL sbc    ( kstp, Nbb, Nnn )                   ! Sea Boundary Condition (including sea-ice) 
    101106 
    102                              CALL dia_wri( kstp )         ! ocean model: outputs 
     107                             CALL dia_wri( kstp,      Nnn )                   ! ocean model: outputs 
    103108 
    104109#if defined key_agrif 
     
    121126      IF( indic < 0  )  THEN 
    122127                             CALL ctl_stop( 'step: indic < 0' ) 
    123                              CALL dia_wri_state( 'output.abort' ) 
     128                             CALL dia_wri_state( 'output.abort', Nnn ) 
    124129      ENDIF 
    125       IF( kstp == nit000   ) CALL iom_close( numror )     ! close input  ocean restart file 
     130      IF( kstp == nit000   ) CALL iom_close( numror )           ! close input  ocean restart file 
    126131       
    127132      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    128133      ! Coupled mode 
    129134      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    130       IF( lk_oasis    )  CALL sbc_cpl_snd( kstp )     ! coupled mode : field exchanges if OASIS-coupled ice 
     135      IF( lk_oasis    )  CALL sbc_cpl_snd( kstp, Nbb, Nnn )     ! coupled mode : field exchanges if OASIS-coupled ice 
    131136 
    132137#if defined key_iomput 
Note: See TracChangeset for help on using the changeset viewer.