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/BDY/bdyvol.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/BDY/bdyvol.F90

    r12489 r15540  
    6868      INTEGER  ::   ji, jj, jk, jb, jgrd 
    6969      INTEGER  ::   ib_bdy, ii, ij 
    70       REAL(wp) ::   zubtpecor, ztranst 
    71       REAL(wp), SAVE :: z_cflxemp                                  ! cumulated emp flux 
    72       REAL(wp), DIMENSION(jpi,jpj), INTENT(inout) :: pua2d, pva2d  ! Barotropic velocities 
     70      REAL(dp) ::   zubtpecor, ztranst 
     71      REAL(dp), SAVE :: z_cflxemp                                  ! cumulated emp flux 
     72      REAL(dp), DIMENSION(jpi,jpj), INTENT(inout) :: pua2d, pva2d  ! Barotropic velocities 
    7373      REAL(wp), DIMENSION(jpi,jpj), INTENT(in) :: phu, phv         ! Ocean depth at U- and V-points 
    7474      TYPE(OBC_INDEX), POINTER :: idx 
     
    180180   END SUBROUTINE bdy_vol2d 
    181181   ! 
    182    REAL(wp) FUNCTION bdy_segs_surf(phu, phv) 
     182   REAL(dp) FUNCTION bdy_segs_surf(phu, phv) 
    183183      !!---------------------------------------------------------------------- 
    184184      !!                 ***  ROUTINE bdy_ctl_seg  *** 
     
    191191      INTEGER            ::  igrd, ib_bdy, ib                ! loop indexes 
    192192      INTEGER , POINTER  ::  nbi, nbj                        ! short cuts 
    193       REAL(wp), POINTER  ::  zflagu, zflagv                  !    -   - 
     193      REAL(dp), POINTER  ::  zflagu, zflagv                  !    -   - 
    194194 
    195195      ! Compute total lateral surface for volume correction: 
Note: See TracChangeset for help on using the changeset viewer.