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 4500 for branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPA_SRC/TRA/traadv_muscl.F90 – NEMO

Ignore:
Timestamp:
2014-02-18T16:26:08+01:00 (10 years ago)
Author:
timgraham
Message:

Modified advection schemes as in #1242 to prevent trdtrd being called when key_trdtra is set but key_trdtrc is not set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPA_SRC/TRA/traadv_muscl.F90

    r3558 r4500  
    9090         IF(lwp) WRITE(numout,*) 'tra_adv : MUSCL advection scheme on ', cdtype 
    9191         IF(lwp) WRITE(numout,*) '~~~~~~~' 
    92          ! 
    93          l_trd = .FALSE. 
    94          IF( ( cdtype == 'TRA' .AND. l_trdtra ) .OR. ( cdtype == 'TRC' .AND. l_trdtrc ) ) l_trd = .TRUE. 
    9592      ENDIF 
    96  
     93      ! 
     94      l_trd = .FALSE. 
     95      IF( ( cdtype == 'TRA' .AND. l_trdtra ) .OR. ( cdtype == 'TRC' .AND. l_trdtrc ) ) l_trd = .TRUE. 
    9796      !                                                     ! =========== 
    9897      DO jn = 1, kjpt                                       ! tracer loop 
Note: See TracChangeset for help on using the changeset viewer.