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

Changeset 1303


Ignore:
Timestamp:
2009-02-10T10:17:34+01:00 (15 years ago)
Author:
ctlod
Message:

update emp(:,:) field with runoffs every nn_fsbc only and not at each time step, see ticket: #326

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcrnf.F90

    r1275 r1303  
    100100         ! C a u t i o n : runoff is negative and in kg/m2/s  
    101101 
    102          emp (:,:) = emp (:,:) - ABS( sf_rnf(1)%fnow(:,:) ) 
    103          emps(:,:) = emps(:,:) - ABS( sf_rnf(1)%fnow(:,:) ) 
     102         IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN 
     103            emp (:,:) = emp (:,:) - ABS( sf_rnf(1)%fnow(:,:) ) 
     104            emps(:,:) = emps(:,:) - ABS( sf_rnf(1)%fnow(:,:) ) 
     105         ENDIF 
    104106         ! 
    105107      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.