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 7158 for branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim.F90 – NEMO

Ignore:
Timestamp:
2016-10-29T01:21:05+02:00 (7 years ago)
Author:
clem
Message:

debug branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim.F90

    r7077 r7158  
    132132 
    133133# if defined key_agrif 
    134          IF( .NOT. Agrif_Root() ) THEN 
    135             lim_nbstep = MOD( lim_nbstep, Agrif_irhot() * Agrif_Parent(nn_fsbc) / nn_fsbc ) + 1 
    136          ENDIF 
     134         IF( .NOT. Agrif_Root() )  lim_nbstep = MOD( lim_nbstep, Agrif_irhot() * Agrif_Parent(nn_fsbc) / nn_fsbc ) + 1 
    137135# endif 
    138136 
     
    180178                                      CALL lim_rst_opn( kt )   ! Open Ice restart file 
    181179         ! 
    182 #if defined key_agrif 
    183           IF( .NOT. Agrif_Root() )    CALL agrif_interp_lim3('T') 
    184 #endif 
    185180         ! --- zap this if no ice dynamics --- ! 
    186181         IF( .NOT. lk_c1d .AND. ln_limdyn ) THEN 
     
    201196         ! --- 
    202197#if defined key_agrif 
    203           IF( .NOT. Agrif_Root() )    CALL agrif_interp_lim3('T') 
     198         IF( .NOT. Agrif_Root() )     CALL agrif_interp_lim3('T') 
    204199#endif 
    205200#if defined key_bdy 
     
    270265                                      CALL lim_var_agg( 2 )     ! necessary calls (at least for coupling) 
    271266                                      ! 
     267# if defined key_agrif 
     268!!         IF( .NOT. Agrif_Root() )     CALL Agrif_ChildGrid_To_ParentGrid()  ! clem: should be called at the update frequency only (cf agrif_lim3_update) 
     269# endif 
    272270                                      CALL lim_sbc_flx( kt )    ! -- Update surface ocean mass, heat and salt fluxes 
    273                                       ! 
     271# if defined key_agrif 
     272!!         IF( .NOT. Agrif_Root() )     CALL Agrif_ParentGrid_To_ChildGrid()  ! clem: should be called at the update frequency only (cf agrif_lim3_update) 
     273# endif 
    274274         IF( ln_limdiahsb )           CALL lim_diahsb( kt )     ! -- Diagnostics and outputs  
    275275         ! 
     
    438438      ! 
    439439      ! sea-ice timestep and inverse 
    440       rdt_ice   = nn_fsbc * rdttra(1)   
     440      rdt_ice   = REAL(nn_fsbc) * rdt   
    441441      r1_rdtice = 1._wp / rdt_ice  
    442442 
     
    448448      IF( lwp .AND. ln_limdiachk )  CALL ctl_warn('online conservation check activated but it does not work with BDY') 
    449449#endif 
     450      ! 
     451      IF( lwp ) WRITE(numout,*) '   ice timestep rdt_ice  = ', rdt_ice 
    450452      ! 
    451453   END SUBROUTINE ice_run 
Note: See TracChangeset for help on using the changeset viewer.