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 14495 for NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/ICE/icethd_dh.F90 – NEMO

Ignore:
Timestamp:
2021-02-18T18:06:18+01:00 (3 years ago)
Author:
mcastril
Message:

Further changes to make the mixed precision branch compliant with cpp -traditional and GNU compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/src/ICE/icethd_dh.F90

    r14072 r14495  
    369369               !--- zswi2  if dh/dt > 3.6e-7 
    370370               zgrr     = MIN( 1.0e-3, MAX ( dh_i_bog(ji) * r1_Dt_ice , epsi10 ) ) 
    371                zswi2    = MAX( 0._wp , SIGN( 1._wp , zgrr - 3.6e-7 ) ) 
    372                zswi12   = MAX( 0._wp , SIGN( 1._wp , zgrr - 2.0e-8 ) ) * ( 1.0 - zswi2 ) 
     371               zswi2    = MAX( 0._wp , SIGN( 1._wp , zgrr - 3.6e-7_wp ) ) 
     372               zswi12   = MAX( 0._wp , SIGN( 1._wp , zgrr - 2.0e-8_wp ) ) * ( 1.0 - zswi2 ) 
    373373               zswi1    = 1. - zswi2 * zswi12 
    374374               zfracs   = MIN( zswi1  * 0.12 + zswi12 * ( 0.8925 + 0.0568 * LOG( 100.0 * zgrr ) )   & 
Note: See TracChangeset for help on using the changeset viewer.