Changeset 1332 for palm/trunk/SOURCE


Ignore:
Timestamp:
Mar 25, 2014 11:59:43 AM (11 years ago)
Author:
suehring
Message:

Bugfix use_upstream_for_tke

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/prognostic_equations.f90

    r1331 r1332  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! Bugfix: call advec_ws or advec_pw for TKE only if NOT use_upstream_for_tke
    2323!
    2424! Former revisions:
     
    791791!--          Tendency-terms for TKE
    792792             tend(:,j,i) = 0.0
    793              IF ( timestep_scheme(1:5) == 'runge' )  THEN
     793             IF ( timestep_scheme(1:5) == 'runge'  &
     794                 .AND.  .NOT. use_upstream_for_tke )  THEN
    794795                 IF ( ws_scheme_sca )  THEN
    795796                     CALL advec_s_ws( i, j, e, 'e', flux_s_e, diss_s_e, &
Note: See TracChangeset for help on using the changeset viewer.