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/ASM/asminc.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/ASM/asminc.F90

    r4624 r4748  
    10091009#endif 
    10101010 
    1011 #if defined key_cice && defined key_asminc 
     1011#if ( defined key_cice || defined key_cice5 ) && defined key_asminc 
    10121012            ! Sea-ice : CICE case. Pass ice increment tendency into CICE 
    10131013            ndaice_da(:,:) = seaice_bkginc(:,:) * zincwgt / rdt 
     
    10201020         ELSE 
    10211021 
    1022 #if defined key_cice && defined key_asminc 
     1022#if ( defined key_cice || defined key_cice5 ) && defined key_asminc 
    10231023            ! Sea-ice : CICE case. Zero ice increment tendency into CICE 
    10241024            ndaice_da(:,:) = 0.0_wp 
     
    10641064#endif 
    10651065  
    1066 #if defined key_cice && defined key_asminc 
     1066#if ( defined key_cice || defined key_cice5 ) && defined key_asminc 
    10671067            ! Sea-ice : CICE case. Pass ice increment tendency into CICE 
    10681068           ndaice_da(:,:) = seaice_bkginc(:,:) / rdt 
     
    10741074         ELSE 
    10751075 
    1076 #if defined key_cice && defined key_asminc 
     1076#if ( defined key_cice || defined key_cice5 ) && defined key_asminc 
    10771077            ! Sea-ice : CICE case. Zero ice increment tendency into CICE  
    10781078            ndaice_da(:,:) = 0.0_wp 
     
    10811081         ENDIF 
    10821082 
    1083 !#if defined defined key_lim2 || defined key_cice 
     1083!#if defined defined key_lim2 || defined key_cice || defined key_cice5 
    10841084! 
    10851085!            IF (ln_seaicebal ) THEN        
Note: See TracChangeset for help on using the changeset viewer.