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 3480 for branches/2012/dev_3352_UKMO8_CICE/NEMOGCM/NEMO/OPA_SRC/TRA/eosbn2.F90 – NEMO

Ignore:
Timestamp:
2012-10-02T11:28:15+02:00 (12 years ago)
Author:
charris
Message:

#953 Removing salinity dependence of freezing point for the moment (will be implemented more completely in NEMO3.6).
Reversed r3356 of /branches/2012/dev_3352_UKMO8_CICE/NEMOGCM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_3352_UKMO8_CICE/NEMOGCM/NEMO/OPA_SRC/TRA/eosbn2.F90

    r3357 r3480  
    678678 
    679679 
    680    FUNCTION tfreez( psal, ppress ) RESULT( ptf ) 
     680   FUNCTION tfreez( psal ) RESULT( ptf ) 
    681681      !!---------------------------------------------------------------------- 
    682682      !!                 ***  ROUTINE eos_init  *** 
     
    691691      !!---------------------------------------------------------------------- 
    692692      REAL(wp), DIMENSION(jpi,jpj), INTENT(in   ) ::   psal   ! salinity             [psu] 
    693       REAL(wp), DIMENSION(jpi,jpj), INTENT(in   ), OPTIONAL ::   ppress ! pressure             [dBar] 
    694693      ! Leave result array automatic rather than making explicitly allocated 
    695694      REAL(wp), DIMENSION(jpi,jpj)                ::   ptf    ! freezing temperature [Celcius] 
     
    698697      ptf(:,:) = ( - 0.0575_wp + 1.710523e-3_wp * SQRT( psal(:,:) )   & 
    699698         &                     - 2.154996e-4_wp *       psal(:,:)   ) * psal(:,:) 
    700  
    701       IF( PRESENT(ppress) ) THEN 
    702          ptf(:,:) = ptf(:,:) - 7.53e-4_wp * ppress(:,:) 
    703       ENDIF 
    704  
    705699      ! 
    706700   END FUNCTION tfreez 
Note: See TracChangeset for help on using the changeset viewer.