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/IOM/restart.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/IOM/restart.F90

    r14200 r14219  
    4848#  include "do_loop_substitute.h90" 
    4949#  include "domzgr_substitute.h90" 
     50#  include "single_precision_substitute.h90" 
    5051   !!---------------------------------------------------------------------- 
    5152   !! NEMO/OCE 4.0 , NEMO Consortium (2018) 
     
    328329               zgdept(:,:,jk) = gdept(:,:,jk,Kmm) 
    329330            END DO 
    330             CALL eos( ts(:,:,:,:,Kmm), rhd, rhop, zgdept ) 
     331            CALL eos( CASTWP(ts(:,:,:,:,Kmm)), rhd, rhop, zgdept ) 
    331332            DEALLOCATE( zgdept ) 
    332333#else 
    333             CALL eos( ts(:,:,:,:,Kmm), rhd, rhop, gdept(:,:,:,Kmm) ) 
     334            CALL eos( CASTWP(ts(:,:,:,:,Kmm)), rhd, rhop, CASTWP(gdept(:,:,:,Kmm)) ) 
    334335#endif 
    335336         ENDIF 
Note: See TracChangeset for help on using the changeset viewer.