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/SBC/ocealb.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/SBC/ocealb.F90

    r10069 r15540  
    3232      !! ** Purpose :   Computation of the albedo of the ocean 
    3333      !!---------------------------------------------------------------------- 
    34       REAL(wp), DIMENSION(:,:), INTENT(out) ::   palb_os   !  albedo of ocean under overcast sky 
    35       REAL(wp), DIMENSION(:,:), INTENT(out) ::   palb_cs   !  albedo of ocean under clear sky 
     34      REAL(dp), DIMENSION(:,:), INTENT(out) ::   palb_os   !  albedo of ocean under overcast sky 
     35      REAL(dp), DIMENSION(:,:), INTENT(out) ::   palb_cs   !  albedo of ocean under clear sky 
    3636      !! 
    37       REAL(wp) ::   zcoef  
    38       REAL(wp) ::   rmue = 0.40    !  cosine of local solar altitude 
     37      REAL(dp) ::   zcoef  
     38      REAL(dp) ::   rmue = 0.40    !  cosine of local solar altitude 
    3939      !!---------------------------------------------------------------------- 
    4040      ! 
Note: See TracChangeset for help on using the changeset viewer.