Ignore:
Timestamp:
May 9, 2018 8:42:38 AM (6 years ago)
Author:
maronga
Message:

series of bugfixes

File:
1 edited

Legend:

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

    r2815 r3014  
    2525! -----------------
    2626! $Id$
     27! Fixed a bug in the IF condition to call pcm_tendency in case of
     28! potential temperature
     29!
     30! 2815 2018-02-19 11:29:57Z kanani
    2731! Rename chem_tendency to chem_prognostic_equations,
    2832! implement vector version for air chemistry
     
    298302               timestep_scheme, tsc, use_subsidence_tendencies,                &
    299303               use_upstream_for_tke, wind_turbine, ws_scheme_mom,              &
    300                ws_scheme_sca
     304               ws_scheme_sca, urban_surface, land_surface
    301305
    302306    USE cpulog,                                                                &
     
    759763!
    760764!--          Consideration of heat sources within the plant canopy
    761              IF ( plant_canopy  .AND.  cthf /= 0.0_wp )  THEN
     765             IF ( plant_canopy  .AND.                                          &
     766                (cthf /= 0.0_wp  .OR. urban_surface  .OR.  land_surface) )  THEN
    762767                CALL pcm_tendency( i, j, 4 )
    763768             ENDIF
     
    13251330
    13261331
    1327 
    1328 
    13291332    CALL cpu_log( log_point(32), 'all progn.equations', 'stop' )
    13301333
     
    16711674!
    16721675!--    Consideration of heat sources within the plant canopy
    1673        IF ( plant_canopy .AND. ( cthf /= 0.0_wp ) ) THEN
     1676       IF ( plant_canopy  .AND.                                          &
     1677            (cthf /= 0.0_wp  .OR. urban_surface  .OR.  land_surface) )  THEN
    16741678          CALL pcm_tendency( 4 )
    16751679       ENDIF
     
    17181722          ENDDO
    17191723       ENDDO
    1720 
    17211724!
    17221725!--    Calculate tendencies for the next Runge-Kutta step
Note: See TracChangeset for help on using the changeset viewer.