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 15540 for NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/stpmlf.F90 – NEMO

Ignore:
Timestamp:
2021-11-26T12:27:56+01:00 (3 years ago)
Author:
sparonuz
Message:

Mixed precision version, tested up to 30 years on ORCA2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/stpmlf.F90

    r15066 r15540  
    192192      ! 
    193193      IF( l_ldfslp ) THEN                             ! slope of lateral mixing 
    194                          CALL eos( CASTWP(ts(:,:,:,:,Nbb)), rhd, gdept_0(:,:,:) )               ! before in situ density 
     194                         CALL eos( ts(:,:,:,:,Nbb), rhd, gdept_0(:,:,:) )               ! before in situ density 
    195195 
    196196      IF( ln_zps .AND. .NOT. ln_isfcav)                                    & 
     
    227227                            zgdept(:,:,jk) = gdept(:,:,jk,Nnn) 
    228228                         END DO 
    229                          CALL eos        ( ts(:,:,:,:,Nnn), rhd, rhop, zgdept ) ! now in situ density for hpg computation 
     229                         CALL eos        ( ts(:,:,:,:,Nnn), rhd, rhop, CASTDP(zgdept) ) ! now in situ density for hpg computation 
    230230                         DEALLOCATE( zgdept ) 
    231231 
Note: See TracChangeset for help on using the changeset viewer.