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/TRA/traisf.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/TRA/traisf.F90

    r14072 r14219  
    2525#  include "do_loop_substitute.h90" 
    2626#  include "domzgr_substitute.h90" 
     27#  include "single_precision_substitute.h90" 
    2728   !!---------------------------------------------------------------------- 
    2829   !! NEMO/OCE 4.0 , NEMO Consortium (2018) 
     
    4243      INTEGER                                  , INTENT(in   ) :: kt        ! ocean time step 
    4344      INTEGER                                  , INTENT(in   ) :: Kmm, Krhs ! ocean time level indices 
    44       REAL(wp), DIMENSION(jpi,jpj,jpk,jpts,jpt), INTENT(inout) :: pts       ! active tracers and RHS of tracer equation 
     45      REAL(dp), DIMENSION(jpi,jpj,jpk,jpts,jpt), INTENT(inout) :: pts       ! active tracers and RHS of tracer equation 
    4546      !!---------------------------------------------------------------------- 
    4647      ! 
     
    8081      IF ( ln_isfdebug ) THEN 
    8182         IF( ntile == 0 .OR. ntile == nijtile ) THEN                       ! Do only for the full domain 
    82             CALL debug('tra_isf: pts(:,:,:,:,Krhs) T', pts(:,:,:,1,Krhs)) 
    83             CALL debug('tra_isf: pts(:,:,:,:,Krhs) S', pts(:,:,:,2,Krhs)) 
     83            CALL debug('tra_isf: pts(:,:,:,:,Krhs) T', CASTWP(pts(:,:,:,1,Krhs))) 
     84            CALL debug('tra_isf: pts(:,:,:,:,Krhs) S', CASTWP(pts(:,:,:,2,Krhs))) 
    8485         ENDIF 
    8586      END IF 
     
    9899      !! 
    99100      !!---------------------------------------------------------------------- 
    100       REAL(wp), DIMENSION(jpi,jpj,jpk,jpts), INTENT(inout) :: pts 
     101      REAL(dp), DIMENSION(jpi,jpj,jpk,jpts), INTENT(inout) :: pts 
    101102      !!---------------------------------------------------------------------- 
    102103      INTEGER , DIMENSION(jpi,jpj)     , INTENT(in   ) :: ktop , kbot 
     
    139140      !! 
    140141      !!---------------------------------------------------------------------- 
    141       REAL(wp), DIMENSION(jpi,jpj,jpk,jpts), INTENT(inout) :: ptsa 
     142      REAL(dp), DIMENSION(jpi,jpj,jpk,jpts), INTENT(inout) :: ptsa 
    142143      !!---------------------------------------------------------------------- 
    143144      INTEGER                              , INTENT(in   ) :: Kmm   ! ocean time level index 
Note: See TracChangeset for help on using the changeset viewer.