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/OBS/obs_grd_bruteforce.h90 – 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/OBS/obs_grd_bruteforce.h90

    r10068 r15540  
    3434      INTEGER, INTENT(IN) :: kmyproc            ! Processor number for MPP 
    3535      INTEGER, INTENT(IN) :: ktotproc           ! Total number of processors 
    36       REAL(KIND=wp), DIMENSION(kpi,kpj), INTENT(IN) :: & 
     36      REAL(KIND=dp), DIMENSION(kpi,kpj), INTENT(IN) :: & 
    3737         & pglam,   &               ! Grid point longitude 
    3838         & pgphi,   &               ! Grid point latitude 
    3939         & pmask                    ! Grid point mask 
    4040      INTEGER,INTENT(IN) :: kobs                ! Size of the observation arrays 
    41       REAL(KIND=wp), DIMENSION(kobs), INTENT(IN) :: & 
     41      REAL(KIND=dp), DIMENSION(kobs), INTENT(IN) :: & 
    4242         & plam, &                  ! Longitude of obsrvations  
    4343         & pphi                     ! Latitude of observations 
     
    4848   
    4949      !! * Local declarations 
    50       REAL(wp), DIMENSION(:), ALLOCATABLE :: & 
    51          & zplam, zpphi 
    52       REAL(wp) :: zlammax 
    53       REAL(wp) :: zlam 
     50      REAL(dp), DIMENSION(:), ALLOCATABLE ::  zplam, zpphi 
     51      REAL(dp) :: zlammax 
     52      REAL(dp) :: zlam 
    5453      INTEGER :: ji 
    5554      INTEGER :: jj 
     
    6059      INTEGER :: joffset 
    6160      INTEGER :: jostride 
    62       REAL(KIND=wp), DIMENSION(:,:), ALLOCATABLE :: & 
     61      REAL(KIND=dp), DIMENSION(:,:), ALLOCATABLE :: & 
    6362         & zlamg, & 
    6463         & zphig, & 
     
    7069      LOGICAL, DIMENSION(:,:), ALLOCATABLE :: & 
    7170         & llinvalidcell 
    72       REAL(wp), DIMENSION(:,:,:), ALLOCATABLE :: & 
     71      REAL(dp), DIMENSION(:,:,:), ALLOCATABLE :: & 
    7372         & zlamtm,  & 
    7473         & zphitm 
Note: See TracChangeset for help on using the changeset viewer.