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 1242 for trunk/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2009-01-06T11:21:38+01:00 (15 years ago)
Author:
rblod
Message:

Fix runtime issues with AGRIF on NEC and add the ability to run without sea-ice on the fine grid hierarchy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcmod.F90

    r1226 r1242  
    8585!!gm here no overwrite, test all option via namelist change: require more incore memory 
    8686!!gm  IF( lk_sbc_cpl       ) THEN   ;   ln_cpl      = .TRUE.   ;   ELSE   ;   ln_cpl      = .FALSE.   ;   ENDIF 
    87       IF( lk_lim2 )            nn_ice      = 2 
    88       IF( lk_lim3 )            nn_ice      = 3 
     87#if defined key_agrif 
     88      IF ( Agrif_Root() ) THEN 
     89#endif 
     90        IF( lk_lim2 )            nn_ice      = 2 
     91        IF( lk_lim3 )            nn_ice      = 3 
     92#if defined key_agrif 
     93      ENDIF 
     94#endif 
    8995      IF( cp_cfg == 'gyre' ) THEN 
    9096          ln_ana      = .TRUE.    
Note: See TracChangeset for help on using the changeset viewer.