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/OFF_SRC – 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/OFF_SRC/dtadyn.F90

    r4230 r4313  
    243243      tsn(:,:,:,jp_sal) = sf_dyn(jf_sal)%fnow(:,:,:)  * tmask(:,:,:)    ! salinity 
    244244      ! 
    245       CALL eos    ( tsn, rhd, rhop )                                       ! In any case, we need rhop 
     245      CALL eos    ( tsn, rhd, rhop, gdept_0(:,:,:) )                                       ! In any case, we need rhop 
    246246      CALL zdf_mxl( kt )                                                   ! In any case, we need mxl  
    247247      ! 
     
    521521      !!--------------------------------------------------------------------- 
    522522#if defined key_ldfslp && ! defined key_c1d 
    523       CALL eos( pts, rhd, rhop )   ! Time-filtered in situ density  
     523      CALL eos( pts, rhd, rhop, gdept_0(:,:,:) )   ! Time-filtered in situ density  
    524524      CALL bn2( pts, rn2 )         ! before Brunt-Vaisala frequency 
    525525      IF( ln_zps )   & 
Note: See TracChangeset for help on using the changeset viewer.