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 2804 for branches/2011/dev_r2802_LOCEAN10_agrif_lim/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim_2.F90 – NEMO

Ignore:
Timestamp:
2011-07-18T17:05:52+02:00 (13 years ago)
Author:
rblod
Message:

dev_r2802_LOCEAN10_agrif_lim: first implementation see ticket #848

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_r2802_LOCEAN10_agrif_lim/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim_2.F90

    r2715 r2804  
    4848   USE prtctl           ! Print control 
    4949 
     50#if defined key_agrif 
     51   USE agrif_ice 
     52   USE agrif_lim2_update 
     53#endif 
     54 
    5055   IMPLICIT NONE 
    5156   PRIVATE 
     
    110115         ! 
    111116         CALL ice_init_2 
     117#if defined key_agrif 
     118         IF( .NOT. Agrif_Root() ) CALL Agrif_InitValues_cont_lim2  ! AGRIF: set the meshes 
     119# endif 
    112120      ENDIF 
    113121 
     
    115123      IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN     !  Ice time-step only  ! 
    116124         !                                     !----------------------! 
     125#if defined key_agrif 
     126         IF( .NOT. Agrif_Root() ) childfreq = MOD(childfreq,Agrif_rhot()) + 1 
     127#endif 
     128         !   
    117129         !  Bulk Formulea ! 
    118130         !----------------! 
     
    197209         IF( .NOT. lk_c1d ) THEN                       ! Ice dynamics & transport (except in 1D case) 
    198210                           CALL lim_dyn_2      ( kt )      ! Ice dynamics    ( rheology/dynamics ) 
     211 
    199212                           CALL lim_trp_2      ( kt )      ! Ice transport   ( Advection/diffusion ) 
    200213           IF( ln_limdmp ) CALL lim_dmp_2      ( kt )      ! Ice damping  
     
    223236      !                                        !  at all ocean time step  ! 
    224237      !                                        !--------------------------! 
     238#if defined key_agrif && defined key_lim2 
     239      IF( .NOT. Agrif_Root() )   CALL agrif_update_lim2( kt ) 
     240#endif 
    225241      !                                                
    226242      !                                              ! Update surface ocean stresses (only in ice-dynamic case) 
Note: See TracChangeset for help on using the changeset viewer.