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 6804 for branches/UKMO/dev_r5518_GO6_package/NEMOGCM/CONFIG – NEMO

Ignore:
Timestamp:
2016-07-13T14:19:53+02:00 (8 years ago)
Author:
timgraham
Message:

Fix in namelist_ref that causes a crash on some compilers. Values in a field are defined as integers/floats in the code but were set as empty strings in the namelist. They are now set to zero in the namelist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package/NEMOGCM/CONFIG/SHARED/namelist_ref

    r6533 r6804  
    10121012!              ! type          ! depth     ! criterion         ! criterion      ! 
    10131013   sn_mld1     =       1       ,    10.0   ,        0.2        ,       0.1 
    1014    sn_mld2     =       ''      ,      ''   ,         ''        ,        '' 
    1015    sn_mld3     =       ''      ,      ''   ,         ''        ,        '' 
    1016    sn_mld4     =       ''      ,      ''   ,         ''        ,        '' 
    1017    sn_mld5     =       ''      ,      ''   ,         ''        ,        '' 
     1014   sn_mld2     =       0      ,      0.0   ,        0.0        ,       0.0  
     1015   sn_mld3     =       0      ,      0.0   ,        0.0        ,       0.0  
     1016   sn_mld4     =       0      ,      0.0   ,        0.0        ,       0.0  
     1017   sn_mld5     =       0      ,      0.0   ,        0.0        ,       0.0  
    10181018/ 
    10191019 
Note: See TracChangeset for help on using the changeset viewer.