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

Changeset 15769


Ignore:
Timestamp:
2022-03-30T09:22:02+02:00 (2 years ago)
Author:
smasson
Message:

very minor fix in sbcssm.F90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/releases/r4.0/r4.0-HEAD/src/OCE/SBC/sbcssm.F90

    r10425 r15769  
    225225            IF( zf_sbc /= REAL( nn_fsbc, wp ) ) THEN      ! nn_fsbc has changed between 2 runs 
    226226               IF(lwp) WRITE(numout,*) '   restart with a change in the frequency of mean from ', zf_sbc, ' to ', nn_fsbc  
    227                zcoef = REAL( nn_fsbc - 1, wp ) / zf_sbc  
     227               zcoef = REAL( nn_fsbc - 1, wp ) / ( zf_sbc - 1._wp )   ! zf_sbc /= 1 as it was written in the restart  
    228228               ssu_m(:,:) = zcoef * ssu_m(:,:)  
    229229               ssv_m(:,:) = zcoef * ssv_m(:,:) 
Note: See TracChangeset for help on using the changeset viewer.