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 990 for branches/dev_003_CPL/NEMO/OPA_SRC/TRA/tradmp.F90 – NEMO

Ignore:
Timestamp:
2008-05-23T16:38:21+02:00 (16 years ago)
Author:
smasson
Message:

dev_003_CPL: to the trunk , see ticket #155

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_003_CPL/NEMO/OPA_SRC/TRA/tradmp.F90

    r719 r990  
    4747   LOGICAL, PUBLIC            ::   lk_tradmp = .TRUE.     !: internal damping flag 
    4848#endif 
    49    REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   strdmp   !: damping salinity trend (psu/s) 
    5049   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   resto    !: restoring coeff. on T and S (s-1) 
    5150    
     
    121120                  sa(ji,jj,jk) = sa(ji,jj,jk) + zsa 
    122121                  ! save the salinity trend (used in flx to close the salt budget) 
    123                   strdmp(ji,jj,jk) = zsa 
    124122               END DO 
    125123            END DO 
     
    142140                  sa(ji,jj,jk) = sa(ji,jj,jk) + zsa 
    143141                  ! save the salinity trend (used in flx to close the salt budget) 
    144                   strdmp(ji,jj,jk) = zsa 
    145142               END DO 
    146143            END DO 
     
    162159                  sa(ji,jj,jk) = sa(ji,jj,jk) + zsa 
    163160                  ! save the salinity trend (used in flx to close the salt budget) 
    164                   strdmp(ji,jj,jk) = zsa 
    165161               END DO 
    166162            END DO 
     
    229225      IF( .NOT.lk_dtasal .OR. .NOT.lk_dtatem )   & 
    230226         &   CALL ctl_stop( 'no temperature and/or salinity data define key_dtatem and key_dtasal' ) 
    231  
    232       strdmp(:,:,:) = 0.e0       ! internal damping salinity trend (used in ocesbc) 
    233227 
    234228      !                          ! Damping coefficients initialization 
Note: See TracChangeset for help on using the changeset viewer.