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 14593 for NEMO – NEMO

Changeset 14593 for NEMO


Ignore:
Timestamp:
2021-03-05T17:27:27+01:00 (3 years ago)
Author:
gsamson
Message:

bugfix related to CS/WL options; ticket #2632

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/ticket2632_r14588_theta_sbcblk/src/OCE/SBC/sbcblk.F90

    r14592 r14593  
    762762 
    763763      IF( ln_skin_cs .OR. ln_skin_wl ) THEN 
    764          !! ptsk and pssq have been updated!!! 
    765          ptsk(:,:) = ptsk(:,:) + ( zsspt(:,:) - zztmp1(:,:) ) 
    766          !! 
    767764         !! In the presence of sea-ice we forget about the cool-skin/warm-layer update of ptsk and pssq: 
    768765         WHERE ( fr_i(:,:) > 0.001_wp ) 
     
    771768            pssq(:,:)  = zztmp2(:,:) 
    772769         END WHERE 
     770         !! ptsk and pssq have been updated!!! 
     771         ptsk(:,:) = ptsk(:,:) + ( zsspt(:,:) - zztmp1(:,:) ) 
    773772      END IF 
    774773 
Note: See TracChangeset for help on using the changeset viewer.