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/TRD/trdmxl_oce.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/TRD/trdmxl_oce.F90

    r10425 r15540  
    3232   !                                                            !!* Namelist namtrd_mxl:  trend diagnostics in the mixed layer * 
    3333   INTEGER           , PUBLIC ::   nn_ctls  = 0                  !: control surface type for trends vertical integration 
    34    REAL(wp)          , PUBLIC ::   rn_rho_c = 0.01               !: density criteria for MLD definition 
    35    REAL(wp)          , PUBLIC ::   rn_ucf   = 1.                 !: unit conversion factor (for netCDF trends outputs) 
     34   REAL(dp)          , PUBLIC ::   rn_rho_c = 0.01               !: density criteria for MLD definition 
     35   REAL(dp)          , PUBLIC ::   rn_ucf   = 1.                 !: unit conversion factor (for netCDF trends outputs) 
    3636                                                                 !  =1. (=86400.) for degC/s (degC/day) and psu/s (psu/day) 
    3737   CHARACTER(len=32), PUBLIC ::   cn_trdrst_in  = "restart_mxl"  !: suffix of ocean restart name (input) 
     
    4848   INTEGER , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   nbol   !: mixed-layer depth indexes when read from file 
    4949 
    50    REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::   wkx    !: 
     50   REAL(dp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) ::   wkx    !: 
    5151 
    52    REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::  & 
     52   REAL(dp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::  & 
    5353      hmxl   ,                      & !: mixed layer depth (m) corresponding to nmld 
    5454      tml    , sml  ,               & !: \ "now" mixed layer temperature/salinity 
     
    6565      hmxl_sum, hmxlbn                !: needed to compute the leap-frog time mean of the ML depth 
    6666 
    67    REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::  & 
     67   REAL(dp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::  & 
    6868      tmlatfb, tmlatfn ,            & !: "before" Asselin contribution at begining of the averaging 
    6969      smlatfb, smlatfn,             & !: period (i.e. last contrib. from previous such period) and  
     
    7171      tmlatfm, smlatfm                !: accumulator for Asselin trends (needed for storage only) 
    7272 
    73    REAL(wp), PUBLIC, ALLOCATABLE, DIMENSION(:,:,:) ::  & 
     73   REAL(dp), PUBLIC, ALLOCATABLE, DIMENSION(:,:,:) ::  & 
    7474      tmltrd,                       & !: \ physical contributions to the total trend (for T/S), 
    7575      smltrd,                       & !: / cumulated over the current analysis window 
Note: See TracChangeset for help on using the changeset viewer.