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 3964 for branches/2013/dev_r3406_CNRS_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC – NEMO

Ignore:
Timestamp:
2013-07-09T17:42:43+02:00 (11 years ago)
Author:
flavoni
Message:

correction of fresh water budget for LIM3, see ticket 1116

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3406_CNRS_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbcfwb.F90

    r3962 r3964  
    3636   REAL(wp) ::   fwfold    ! fwfold to be suppressed 
    3737   REAL(wp) ::   area      ! global mean ocean surface (interior domain) 
     38   REAL(wp) ::   r1_rau0   ! = 1 / rau0  
    3839 
    3940   !! * Substitutions 
     
    130131         ikty = 365 * 86400 / rdttra(1)    !!bug  use of 365 days leap year or 360d year !!!!!!! 
    131132         IF( MOD( kt, ikty ) == 0 ) THEN 
     133            ! 
     134            r1_rau0 = 1._wp / rau0 
     135            ! 
    132136            a_fwb_b = a_fwb                           ! mean sea level taking into account the ice+snow 
    133137                                                      ! sum over the global domain 
     
    138142            !                                         ! estimate from the previous year budget 
    139143         ENDIF 
     144         IF(lwp) WRITE(numout,*) 'correction of fresh water budget :', fwfold 
    140145         !  
    141146         IF( MOD( kt-1, kn_fsbc ) == 0 ) THEN      ! correct the freshwater fluxes 
Note: See TracChangeset for help on using the changeset viewer.