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 8317 for branches/UKMO/dev_r5518_GO6M_StableTo6959/NEMOGCM/NEMO/TOP_SRC/TRP/trctrp.F90 – NEMO

Ignore:
Timestamp:
2017-07-11T14:34:04+02:00 (7 years ago)
Author:
frrh
Message:

Merge in required revisions using command:

svn merge -r 6820:6959 \u200bsvn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2015/nemo_v3_6_STABLE

followed by running fcm conflicts and resolving a number of issues manually.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6M_StableTo6959/NEMOGCM/NEMO/TOP_SRC/TRP/trctrp.F90

    r8280 r8317  
    7777         IF( ln_trcdmp )        CALL trc_dmp( kstp )            ! internal damping trends 
    7878                                CALL trc_adv( kstp )            ! horizontal & vertical advection  
    79 # if defined key_debug_medusa 
    80          IF(lwp) WRITE(numout,*) ' MEDUSA trc_trp after trc_adv at kt =', kstp 
    81          CALL trc_rst_tra_stat 
    82          CALL flush(numout) 
    83 # endif 
     79         IF( ln_zps ) THEN 
     80           IF( ln_isfcav ) THEN ; CALL zps_hde_isf( kstp, jptra, trb, pgtu=gtru, pgtv=gtrv, pgtui=gtrui, pgtvi=gtrvi )  ! both top & bottom 
     81           ELSE                 ; CALL zps_hde    ( kstp, jptra, trb, gtru, gtrv )                                      !  only bottom 
     82           ENDIF 
     83         ENDIF 
    8484                                CALL trc_ldf( kstp )            ! lateral mixing 
    8585         IF( .NOT. lk_offline .AND. lk_zdfkpp )    & 
     
    107107#endif 
    108108 
    109          IF( ln_zps  .AND. .NOT. ln_isfcav)        & 
    110             &            CALL zps_hde    ( kstp, jptra, trn, gtru, gtrv )   ! Partial steps: now horizontal gradient of passive 
    111          IF( ln_zps .AND.        ln_isfcav)        & 
    112             &            CALL zps_hde_isf( kstp, jptra, trn, pgtu=gtru, pgtv=gtrv, pgtui=gtrui, pgtvi=gtrvi )  ! Partial steps: now horizontal gradient of passive 
    113                                                                 ! tracers at the bottom ocean level 
    114          ! 
    115109      ELSE                                               ! 1D vertical configuration 
    116110                                CALL trc_sbc( kstp )            ! surface boundary condition 
     
    124118      ! 
    125119      IF( nn_timing == 1 )   CALL timing_stop('trc_trp') 
     120      ! 
     1219400  FORMAT(a25,i4,D23.16) 
    126122      ! 
    127123   END SUBROUTINE trc_trp 
Note: See TracChangeset for help on using the changeset viewer.