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/ZDF/zdfphy.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/ZDF/zdfphy.F90

    r14986 r15540  
    6161 
    6262   !! * Substitutions 
     63#  include "single_precision_substitute.h90" 
    6364#  include "do_loop_substitute.h90" 
    6465   !!---------------------------------------------------------------------- 
     
    253254      ! 
    254255      INTEGER ::   ji, jj, jk   ! dummy loop indice 
    255       REAL(wp), DIMENSION(A2D(nn_hls),jpk) ::   zsh2   ! shear production 
     256      REAL(dp), DIMENSION(A2D(nn_hls),jpk) ::   zsh2   ! shear production 
    256257      !! --------------------------------------------------------------------- 
    257258      ! 
     
    296297               &                     zsh2    )     ! ==>> out : shear production 
    297298         ELSE 
    298             CALL zdf_sh2( Kbb, Kmm, avm_k,   &     ! <<== in 
     299            CALL zdf_sh2( Kbb, Kmm, CASTSP(avm_k),   &     ! <<== in 
    299300               &                     zsh2    )     ! ==>> out : shear production 
    300301         ENDIF 
Note: See TracChangeset for help on using the changeset viewer.