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/TOP/TRP/trczdf.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/TOP/TRP/trczdf.F90

    r14086 r14219  
    2727   PUBLIC   trc_zdf         ! called by step.F90  
    2828    
     29#  include "single_precision_substitute.h90" 
    2930   !!---------------------------------------------------------------------- 
    3031   !! NEMO/TOP 4.0 , NEMO Consortium (2018) 
     
    4344      INTEGER                                   , INTENT(in   ) ::   kt                   ! ocean time-step index 
    4445      INTEGER                                   , INTENT(in   ) ::   Kbb, Kmm, Krhs, Kaa  ! ocean time level indices 
    45       REAL(wp), DIMENSION(jpi,jpj,jpk,jptra,jpt), INTENT(inout) ::   ptr                  ! passive tracers and RHS of tracer equation 
     46      REAL(dp), DIMENSION(jpi,jpj,jpk,jptra,jpt), INTENT(inout) ::   ptr                  ! passive tracers and RHS of tracer equation 
    4647      ! 
    4748      INTEGER               ::  jk, jn 
     
    6869         WRITE(charout, FMT="('zdf ')") 
    6970         CALL prt_ctl_info( charout, cdcomp = 'top' ) 
    70          CALL prt_ctl( tab4d_1=tr(:,:,:,:,Kaa), mask1=tmask, clinfo=ctrcnm, clinfo3='trd' ) 
     71         CALL prt_ctl( tab4d_1=CASTWP(tr(:,:,:,:,Kaa)), mask1=tmask, clinfo=ctrcnm, clinfo3='trd' ) 
    7172      END IF 
    7273      ! 
Note: See TracChangeset for help on using the changeset viewer.