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 4313 for branches/2013/dev_MERGE_2013/NEMOGCM/NEMO/OPA_SRC/DIA – NEMO

Ignore:
Timestamp:
2013-11-22T13:12:59+01:00 (10 years ago)
Author:
cetlod
Message:

dev_MERGE_2013 : fix on argument call of eos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_MERGE_2013/NEMOGCM/NEMO/OPA_SRC/DIA/diaar5.F90

    r4292 r4313  
    9898      ztsn(:,:,:,jp_tem) = tsn(:,:,:,jp_tem)                    ! thermosteric ssh 
    9999      ztsn(:,:,:,jp_sal) = sn0(:,:,:) 
    100       CALL eos( ztsn, zrhd )                       ! now in situ density using initial salinity 
     100      CALL eos( ztsn, zrhd, fsdept_n(:,:,:) )                       ! now in situ density using initial salinity 
    101101      ! 
    102102      zbotpres(:,:) = 0._wp                        ! no atmospheric surface pressure, levitating sea-ice 
     
    112112       
    113113      !                                         ! steric sea surface height 
    114       CALL eos( tsn, zrhd, zrhop )                 ! now in situ and potential density 
     114      CALL eos( tsn, zrhd, zrhop, fsdept_n(:,:,:) )                 ! now in situ and potential density 
    115115      zrhop(:,:,jpk) = 0._wp 
    116116      CALL iom_put( 'rhop', zrhop ) 
Note: See TracChangeset for help on using the changeset viewer.