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 4748 for branches/2014/dev_r4650_UKMO13_CICE_changes_take2/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90 – NEMO

Ignore:
Timestamp:
2014-08-18T10:33:45+02:00 (10 years ago)
Author:
timgraham
Message:

Added key_cice5 to select use of CICE5 model. This is used so that the correct variable names are used in the CICE5 version
Modified all references to key_cice to an "or" so that they will be triggered by the key_cice5 key as well (assuming the code sections don't require chanegs for CICE5).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4650_UKMO13_CICE_changes_take2/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r4624 r4748  
    5353#endif 
    5454   USE diaar5, ONLY :   lk_diaar5 
    55 #if defined key_cice 
     55#if defined key_cice || defined key_cice5 
    5656   USE ice_domain_size, only: ncat 
    5757#endif 
     
    145145#endif 
    146146 
    147 #if defined key_cice 
     147#if defined key_cice || defined key_cice5 
    148148   INTEGER, PARAMETER ::   jpl = ncat 
    149149#elif ! defined key_lim2   &&   ! defined key_lim3 
     
    153153#endif 
    154154 
    155 #if ! defined key_lim3   &&  ! defined key_cice 
     155#if ! defined key_lim3   &&  ! defined key_cice && ! defined key_cice5 
    156156   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::  a_i 
    157157#endif 
     
    161161#endif 
    162162 
    163 #if ! defined key_cice 
     163#if ! defined key_cice && ! defined key_cice5 
    164164   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::  topmelt, botmelt 
    165165#endif 
     
    192192#endif 
    193193 
    194 #if ! defined key_lim3 && ! defined key_cice 
     194#if ! defined key_lim3 && ! defined key_cice && ! defined key_cice5 
    195195      ALLOCATE( a_i(jpi,jpj,jpl) , STAT=ierr(3) ) 
    196196#endif 
    197197 
    198 #if defined key_cice || defined key_lim2 
     198#if defined key_cice || defined key_cice5 || defined key_lim2 
    199199      ALLOCATE( ht_i(jpi,jpj,jpl) , ht_s(jpi,jpj,jpl) , STAT=ierr(4) ) 
    200200#endif 
Note: See TracChangeset for help on using the changeset viewer.