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/ICB/icbthm.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/ICB/icbthm.F90

    r14030 r14219  
    3131 
    3232   PUBLIC   icb_thm ! routine called in icbstp.F90 module 
     33 
     34   !! * Substitutions 
     35#  include "single_precision_substitute.h90" 
    3336 
    3437   !!---------------------------------------------------------------------- 
     
    282285      END DO 
    283286      ! 
    284       berg_grid%floating_melt = REAL(cicb_melt,dp)    ! kg/m2/s 
    285       berg_grid%calving_hflx  = REAL(cicb_hflx,dp) 
     287      berg_grid%floating_melt = CASTDP(cicb_melt)    ! kg/m2/s 
     288      berg_grid%calving_hflx  = CASTDP(cicb_hflx) 
    286289      ! 
    287290      ! now use melt and associated heat flux in ocean (or not) 
Note: See TracChangeset for help on using the changeset viewer.