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 14932 – NEMO

Changeset 14932


Ignore:
Timestamp:
2021-05-31T18:00:41+02:00 (3 years ago)
Author:
sparonuz
Message:

Removed custom precision, Ticket #2683

File:
1 edited

Legend:

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

    r14650 r14932  
    2020   USE netcdf 
    2121   USE obs_utils      ! Various utilities for observation operators 
     22   USE par_kind 
    2223 
    2324   IMPLICIT NONE 
    2425   PUBLIC 
    25  
    26    ! Type kinds for feedback data. 
    27  
    28    INTEGER, PARAMETER :: fbsp = SELECTED_REAL_KIND( 6, 37) !: single precision 
    29    INTEGER, PARAMETER :: fbdp = SELECTED_REAL_KIND(12,307) !: double precision 
    3026 
    3127   ! Parameters for string lengths. 
     
    4440    
    4541   INTEGER, PARAMETER    :: fbimdi = -99999   !: Integers 
    46    REAL(fbsp), PARAMETER :: fbrmdi =  99999   !: Reals 
     42   REAL(sp), PARAMETER :: fbrmdi =  99999   !: Reals 
    4743  
    4844   ! Main data structure for observation feedback data. 
     
    7773      INTEGER, DIMENSION(:,:,:), POINTER :: & 
    7874         & idqcf                !: Depth QC flags 
    79       REAL(KIND=fbdp), DIMENSION(:), POINTER :: & 
     75      REAL(KIND=dp), DIMENSION(:), POINTER :: & 
    8076         & plam, &              !: Longitude 
    8177         & pphi, &              !: Latitude 
    8278         & ptim                 !: Time 
    83       REAL(KIND=fbsp), DIMENSION(:,:), POINTER :: & 
     79      REAL(KIND=sp), DIMENSION(:,:), POINTER :: & 
    8480         & pdep                 !: Depth 
    8581      CHARACTER(LEN=ilenname), DIMENSION(:), POINTER  :: & 
    8682         & cname                !: Name of variable 
    87       REAL(fbsp), DIMENSION(:,:,:), POINTER :: & 
     83      REAL(sp), DIMENSION(:,:,:), POINTER :: & 
    8884         & pob                  !: Observation 
    8985      CHARACTER(LEN=ilenlong), DIMENSION(:), POINTER :: & 
     
    113109      CHARACTER(LEN=ilenunit), DIMENSION(:,:), POINTER :: & 
    114110         & caddunit             !: Additional entries units (for output) 
    115       REAL(fbsp), DIMENSION(:,:,:,:)   , POINTER :: & 
     111      REAL(sp), DIMENSION(:,:,:,:)   , POINTER :: & 
    116112         & padd                 !: Additional entries 
    117113      CHARACTER(LEN=ilenname), DIMENSION(:), POINTER :: & 
     
    121117      CHARACTER(LEN=ilenunit), DIMENSION(:), POINTER :: & 
    122118         & cextunit             !: Extra variables units (for output) 
    123       REAL(fbsp), DIMENSION(:,:,:)   , POINTER :: & 
     119      REAL(sp), DIMENSION(:,:,:)   , POINTER :: & 
    124120         & pext                 !: Extra variables 
    125121   END TYPE obfbdata 
     
    15461542      CHARACTER(len=*), OPTIONAL , INTENT(IN) :: cfillvalue    ! Fill value for character variables 
    15471543      INTEGER, OPTIONAL , INTENT(IN) :: ifillvalue             ! Fill value for integer variables 
    1548       REAL(kind=fbsp), OPTIONAL , INTENT(IN) :: rfillvalue     ! Fill value for real variables 
     1544      REAL(kind=sp), OPTIONAL , INTENT(IN) :: rfillvalue     ! Fill value for real variables 
    15491545      CHARACTER(len=*), OPTIONAL, INTENT(IN) :: conventions   ! Conventions for variable 
    15501546      !! * Local variables 
Note: See TracChangeset for help on using the changeset viewer.