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 15540 for NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/FLO/floblk.F90 – NEMO

Ignore:
Timestamp:
2021-11-26T12:27:56+01:00 (3 years ago)
Author:
sparonuz
Message:

Mixed precision version, tested up to 30 years on ORCA2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14116_HPC-10_mcastril_Mixed_Precision_implementation/src/OCE/FLO/floblk.F90

    r14644 r15540  
    4949      INTEGER :: jfl              ! dummy loop arguments 
    5050      INTEGER :: ind, ifin, iloop 
    51       REAL(wp)   ::       & 
     51      REAL(dp)   ::       & 
    5252         zuinfl,zvinfl,zwinfl,      &     ! transport across the input face 
    5353         zuoutfl,zvoutfl,zwoutfl,   &     ! transport across the ouput face 
     
    5656         zind 
    5757 
    58       REAL(wp), DIMENSION ( 2 )  ::   zsurfx, zsurfy   ! surface of the face of the mesh 
     58      REAL(dp), DIMENSION ( 2 )  ::   zsurfx, zsurfy   ! surface of the face of the mesh 
    5959 
    6060      INTEGER  , DIMENSION ( jpnfl )  ::   iil, ijl, ikl                   ! index of nearest mesh 
     
    6262      INTEGER  , DIMENSION ( jpnfl )  ::   iiinfl, ijinfl, ikinfl          ! index of input mesh of the float. 
    6363      INTEGER  , DIMENSION ( jpnfl )  ::   iioutfl, ijoutfl, ikoutfl       ! index of output mesh of the float. 
    64       REAL(wp) , DIMENSION ( jpnfl )  ::   zgifl, zgjfl, zgkfl             ! position of floats, index on  
     64      REAL(dp) , DIMENSION ( jpnfl )  ::   zgifl, zgjfl, zgkfl             ! position of floats, index on  
    6565      !                                                                         ! velocity mesh. 
    66       REAL(wp) , DIMENSION ( jpnfl )  ::    ztxfl, ztyfl, ztzfl            ! time for a float to quit the mesh 
     66      REAL(dp) , DIMENSION ( jpnfl )  ::    ztxfl, ztyfl, ztzfl            ! time for a float to quit the mesh 
    6767      !                                                                         ! across one of the face x,y and z  
    68       REAL(wp) , DIMENSION ( jpnfl )  ::    zttfl                          ! time for a float to quit the mesh  
    69       REAL(wp) , DIMENSION ( jpnfl )  ::    zagefl                         ! time during which, trajectorie of  
     68      REAL(dp) , DIMENSION ( jpnfl )  ::    zttfl                          ! time for a float to quit the mesh  
     69      REAL(dp) , DIMENSION ( jpnfl )  ::    zagefl                         ! time during which, trajectorie of  
    7070      !                                                                         ! the float has been computed 
    71       REAL(wp) , DIMENSION ( jpnfl )  ::   zagenewfl                       ! new age of float after calculation  
     71      REAL(dp) , DIMENSION ( jpnfl )  ::   zagenewfl                       ! new age of float after calculation  
    7272      !                                                                         ! of new position 
    73       REAL(wp) , DIMENSION ( jpnfl )  ::   zufl, zvfl, zwfl                ! interpolated vel. at float position 
    74       REAL(wp) , DIMENSION ( jpnfl )  ::   zudfl, zvdfl, zwdfl             ! velocity diff input/output of mesh 
    75       REAL(wp) , DIMENSION ( jpnfl )  ::   zgidfl, zgjdfl, zgkdfl          ! direction index of float 
     73      REAL(dp) , DIMENSION ( jpnfl )  ::   zufl, zvfl, zwfl                ! interpolated vel. at float position 
     74      REAL(dp) , DIMENSION ( jpnfl )  ::   zudfl, zvdfl, zwdfl             ! velocity diff input/output of mesh 
     75      REAL(dp) , DIMENSION ( jpnfl )  ::   zgidfl, zgjdfl, zgkdfl          ! direction index of float 
    7676      !!--------------------------------------------------------------------- 
    7777 
Note: See TracChangeset for help on using the changeset viewer.