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

Location:
branches/2015/dev_r5721_CNRS9_NOC3_LDF/NEMOGCM/NEMO/TOP_SRC/TRP
Files:
2 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      ! 
  • branches/2015/dev_r5721_CNRS9_NOC3_LDF/NEMOGCM/NEMO/TOP_SRC/TRP/trctrp.F90

    r5766 r5782  
    8686      ELSE                                               ! 1D vertical configuration 
    8787                                CALL trc_sbc( kt )            ! surface boundary condition 
     88         IF( ln_trcdmp )        CALL trc_dmp( kt )            ! internal damping trends 
    8889                                CALL trc_zdf( kt )            ! vertical mixing and after tracer fields 
    8990                                CALL trc_nxt( kt )            ! tracer fields at next time step      
Note: See TracChangeset for help on using the changeset viewer.