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 5782 for branches/2015/dev_r5721_CNRS9_NOC3_LDF/NEMOGCM/NEMO/TOP_SRC/TRP/trcdmp.F90 – NEMO

Ignore:
Timestamp:
2015-10-08T15:51:36+02:00 (9 years ago)
Author:
cetlod
Message:

Final step of improvements/simplifications of ADV & LDF momentum trends. The branch is now phased with the trunk at revision 5721 and is ready to be used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5721_CNRS9_NOC3_LDF/NEMOGCM/NEMO/TOP_SRC/TRP/trcdmp.F90

    r5766 r5782  
    208208      ENDIF 
    209209      ! 
    210       IF( lzoom )   nn_zdmp_tr = 0           ! restoring to climatology at closed north or south boundaries 
     210      IF( lzoom .AND. .NOT.lk_c1d )   nn_zdmp_tr = 0           ! restoring to climatology at closed north or south boundaries 
    211211      SELECT CASE ( nn_zdmp_tr ) 
    212212      CASE ( 0 )   ;   IF(lwp) WRITE(numout,*) '   tracer damping throughout the water column' 
     
    218218      END SELECT 
    219219 
    220       IF( .NOT. ln_tradmp )   & 
    221          &   CALL ctl_stop( 'passive trace damping need key_tradmp to compute damping coef.' ) 
    222       ! 
    223       !                          ! Read damping coefficients from file 
    224       !Read in mask from file 
    225       CALL iom_open ( cn_resto_tr, imask) 
    226       CALL iom_get  ( imask, jpdom_autoglo, 'resto', restotr) 
    227       CALL iom_close( imask ) 
    228       ! 
     220      IF( .NOT.lk_c1d ) THEN 
     221         IF( .NOT. ln_tradmp )   & 
     222            &   CALL ctl_stop( 'passive trace damping need ln_tradmp to compute damping coef.' ) 
     223         ! 
     224         !                          ! Read damping coefficients from file 
     225         !Read in mask from file 
     226         CALL iom_open ( cn_resto_tr, imask) 
     227         CALL iom_get  ( imask, jpdom_autoglo, 'resto', restotr) 
     228         CALL iom_close( imask ) 
     229         ! 
     230      ENDIF 
    229231      IF( nn_timing == 1 )  CALL timing_stop('trc_dmp_init') 
    230232      ! 
Note: See TracChangeset for help on using the changeset viewer.