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 14219 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/DIA/diaar5.F90 – NEMO

Ignore:
Timestamp:
2020-12-18T18:52:57+01:00 (4 years ago)
Author:
mcastril
Message:

Add Mixed Precision support by Oriol Tintó

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/OCE/DIA/diaar5.F90

    r14072 r14219  
    4141#  include "do_loop_substitute.h90" 
    4242#  include "domzgr_substitute.h90" 
     43#  include "single_precision_substitute.h90" 
    4344   !!---------------------------------------------------------------------- 
    4445   !! NEMO/OCE 4.0 , NEMO Consortium (2018) 
     
    233234            ztpot(:,:,jpk) = 0._wp 
    234235            DO jk = 1, jpkm1 
    235                ztpot(:,:,jk) = eos_pt_from_ct( ts(:,:,jk,jp_tem,Kmm), ts(:,:,jk,jp_sal,Kmm) ) 
     236               ztpot(:,:,jk) = eos_pt_from_ct( CASTWP(ts(:,:,jk,jp_tem,Kmm)), CASTWP(ts(:,:,jk,jp_sal,Kmm)) ) 
    236237            END DO 
    237238            ! 
     
    269270      ENDIF 
    270271 
    271       IF( iom_use( 'tnpeo' )) THEN 
     272      IF( iom_use( 'tnpeo' )) THEN     
    272273        ! Work done against stratification by vertical mixing 
    273274        ! Exclude points where rn2 is negative as convection kicks in here and 
Note: See TracChangeset for help on using the changeset viewer.