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

Changeset 4478


Ignore:
Timestamp:
2014-02-04T13:19:05+01:00 (10 years ago)
Author:
trackstand2
Message:

Changes in eosbn2 to make precision of f.p. values explicit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/DEV_r2739_STFC_dCSE/NEMOGCM/NEMO/OPA_SRC/TRA/eosbn2.F90

    r4431 r4478  
    646646#endif 
    647647                  zgde3w = grav / fse3w(ji,jj,jk) 
    648                   zt = 0.5 * ( pts(ji,jj,jk,jp_tem) + pts(ji,jj,jk-1,jp_tem) )         ! potential temperature at w-pt 
    649                   zs = 0.5 * ( pts(ji,jj,jk,jp_sal) + pts(ji,jj,jk-1,jp_sal) ) - 35.0 ! salinity anomaly (s-35) at w-pt 
     648                  zt = 0.5_wp * ( pts(ji,jj,jk,jp_tem) + pts(ji,jj,jk-1,jp_tem) )           ! potential temperature at w-pt 
     649                  zs = 0.5_wp * ( pts(ji,jj,jk,jp_sal) + pts(ji,jj,jk-1,jp_sal) ) - 35.0_wp ! salinity anomaly (s-35) at w-pt 
    650650                  zh = fsdepw(ji,jj,jk)                                                ! depth in meters  at w-point 
    651651                  ! 
Note: See TracChangeset for help on using the changeset viewer.