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/bdytides.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/bdytides.F90

    r14221 r15540  
    3333 
    3434   TYPE, PUBLIC ::   TIDES_DATA     !: Storage for external tidal harmonics data 
    35       REAL(wp), POINTER, DIMENSION(:,:,:)    ::   ssh0     !: Tidal constituents : SSH0   (read in file) 
    36       REAL(wp), POINTER, DIMENSION(:,:,:)    ::   u0, v0   !: Tidal constituents : U0, V0 (read in file) 
    37       REAL(wp), POINTER, DIMENSION(:,:,:)    ::   ssh      !: Tidal constituents : SSH    (after nodal cor.) 
    38       REAL(wp), POINTER, DIMENSION(:,:,:)    ::   u , v    !: Tidal constituents : U , V  (after nodal cor.) 
     35      REAL(dp), POINTER, DIMENSION(:,:,:)    ::   ssh0     !: Tidal constituents : SSH0   (read in file) 
     36      REAL(dp), POINTER, DIMENSION(:,:,:)    ::   u0, v0   !: Tidal constituents : U0, V0 (read in file) 
     37      REAL(dp), POINTER, DIMENSION(:,:,:)    ::   ssh      !: Tidal constituents : SSH    (after nodal cor.) 
     38      REAL(dp), POINTER, DIMENSION(:,:,:)    ::   u , v    !: Tidal constituents : U , V  (after nodal cor.) 
    3939   END TYPE TIDES_DATA 
    4040 
     
    7676      CHARACTER(LEN=50)                         ::   cerrmsg             ! error string 
    7777      CHARACTER(len=80)                         ::   clfile              ! full file name for tidal input file  
    78       REAL(wp),ALLOCATABLE, DIMENSION(:,:,:)    ::   dta_read            ! work space to read in tidal harmonics data 
    79       REAL(wp),ALLOCATABLE, DIMENSION(:,:)      ::   ztr, zti            !  "     "    "   "   "   "        "      "  
     78      REAL(dp),ALLOCATABLE, DIMENSION(:,:,:)    ::   dta_read            ! work space to read in tidal harmonics data 
     79      REAL(dp),ALLOCATABLE, DIMENSION(:,:)      ::   ztr, zti            !  "     "    "   "   "   "        "      "  
    8080      !! 
    8181      TYPE(TIDES_DATA), POINTER                 ::   td                  ! local short cut    
     
    287287      LOGICAL  ::   lk_first_btstp            ! =.TRUE. if time splitting and first barotropic step 
    288288      INTEGER  ::   itide, ib_bdy, ib         ! loop indices 
    289       REAL(wp) ::   z_arg, z_sarg, zramp, zoff, z_cost, z_sist, zt_offset    
     289      REAL(dp) ::   z_arg, z_sarg, zramp, zoff, z_cost, z_sist, zt_offset    
    290290      !!---------------------------------------------------------------------- 
    291291      ! 
     
    382382      ! 
    383383      INTEGER ::   itide, isz, ib       ! dummy loop indices 
    384       REAL(wp),ALLOCATABLE, DIMENSION(:) ::   mod_tide, phi_tide 
     384      REAL(dp),ALLOCATABLE, DIMENSION(:) ::   mod_tide, phi_tide 
    385385      !!---------------------------------------------------------------------- 
    386386      ! 
     
    420420      ! 
    421421      INTEGER ::   itide, isz, ib        ! dummy loop indices 
    422       REAL(wp),ALLOCATABLE, DIMENSION(:) ::   mod_tide, phi_tide 
     422      REAL(dp),ALLOCATABLE, DIMENSION(:) ::   mod_tide, phi_tide 
    423423      !!---------------------------------------------------------------------- 
    424424      ! 
Note: See TracChangeset for help on using the changeset viewer.