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 9728 – NEMO

Changeset 9728


Ignore:
Timestamp:
2018-06-01T19:10:46+02:00 (7 years ago)
Author:
mathiot
Message:

Fix for #2066 (bug if eos10 and interactive melt activated) in trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/SBC/sbcisf.F90

    r9598 r9728  
    497497      ! coeficient for linearisation of potential tfreez 
    498498      ! Crude approximation for pressure (but commonly used) 
    499       zlamb1 =-0.0573_wp 
    500       zlamb2 = 0.0832_wp 
    501       zlamb3 =-7.53e-08_wp * grav * rau0 
     499      IF ( l_useCT ) THEN   ! linearisation from Jourdain et al. (2017) 
     500         zlamb1 =-0.0564_wp 
     501         zlamb2 = 0.0773_wp 
     502         zlamb3 =-7.8633e-8 * grav * rau0 
     503      ELSE                  ! linearisation from table 4 (Asay-Davis et al., 2015) 
     504         zlamb1 =-0.0573_wp 
     505         zlamb2 = 0.0832_wp 
     506         zlamb3 =-7.53e-8 * grav * rau0 
     507      ENDIF 
    502508      ! 
    503509      ! initialisation 
Note: See TracChangeset for help on using the changeset viewer.