Ignore:
Timestamp:
Mar 27, 2020 2:06:23 PM (5 years ago)
Author:
monakurppa
Message:

Bug fixes in salsa_mod.f90 and update of urban_environment_salsa

File:
1 edited

Legend:

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

    r4457 r4478  
    2626! -----------------
    2727! $Id$
     28! Bug fixes:
     29! - call salsa_driver in salsa_init also for the ghost points
     30! - decycle flags missing from advec_s_ws call in salsa_tendency
     31!
     32! 4457 2020-03-11 14:20:43Z raasch
    2833! use statement for exchange horiz added
    2934!
     
    18101815
    18111816!-- Initalisation run of SALSA + calculate the vertical top index of the topography
    1812     DO  i = nxl, nxr
    1813        DO  j = nys, nyn
     1817    DO  i = nxlg, nxrg
     1818       DO  j = nysg, nyng
    18141819
    18151820          k_topo_top(j,i) = MAXLOC( MERGE( 1, 0, BTEST( wall_flags_total_0(:,j,i), 12 ) ), &
     
    80958100    IF ( timestep_scheme(1:5) == 'runge' )  THEN
    80968101       IF ( ws_scheme_sca )  THEN
    8097           CALL advec_s_ws( salsa_advc_flags_s, i, j, rs, id, flux_s, diss_s, flux_l, diss_l,       &
    8098                            i_omp_start, tn, bc_dirichlet_l  .OR.  bc_radiation_l,                  &
    8099                            bc_dirichlet_n  .OR.  bc_radiation_n,                                   &
    8100                            bc_dirichlet_r  .OR.  bc_radiation_r,                                   &
    8101                            bc_dirichlet_s  .OR.  bc_radiation_s, monotonic_limiter_z )
     8102          CALL advec_s_ws( salsa_advc_flags_s, i, j, rs, id,                                       &
     8103                           flux_s, diss_s, flux_l, diss_l, i_omp_start, tn,                        &
     8104                           bc_dirichlet_l  .OR.  bc_radiation_l  .OR.  decycle_salsa_lr,           &
     8105                           bc_dirichlet_n  .OR.  bc_radiation_n  .OR.  decycle_salsa_ns,           &
     8106                           bc_dirichlet_r  .OR.  bc_radiation_r  .OR.  decycle_salsa_lr,           &
     8107                           bc_dirichlet_s  .OR.  bc_radiation_s  .OR.  decycle_salsa_ns )
    81028108       ELSE
    81038109          CALL advec_s_pw( i, j, rs )
     
    82308236    IF ( timestep_scheme(1:5) == 'runge' )  THEN
    82318237       IF ( ws_scheme_sca )  THEN
    8232           CALL advec_s_ws( salsa_advc_flags_s, rs, id, bc_dirichlet_l  .OR.  bc_radiation_l,       &
    8233                            bc_dirichlet_n  .OR.  bc_radiation_n,                                   &
    8234                            bc_dirichlet_r  .OR.  bc_radiation_r,                                   &
    8235                            bc_dirichlet_s  .OR.  bc_radiation_s )
     8238          CALL advec_s_ws( salsa_advc_flags_s, rs, id,                                             &
     8239                           bc_dirichlet_l  .OR.  bc_radiation_l  .OR.  decycle_salsa_lr,           &
     8240                           bc_dirichlet_n  .OR.  bc_radiation_n  .OR.  decycle_salsa_ns,           &
     8241                           bc_dirichlet_r  .OR.  bc_radiation_r  .OR.  decycle_salsa_lr,           &
     8242                           bc_dirichlet_s  .OR.  bc_radiation_s  .OR.  decycle_salsa_ns )
    82368243       ELSE
    82378244          CALL advec_s_pw( rs )
Note: See TracChangeset for help on using the changeset viewer.