Changeset 4487 for palm/trunk/SOURCE/salsa_mod.f90
- Timestamp:
- Apr 3, 2020 9:38:20 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/salsa_mod.f90
r4481 r4487 26 26 ! ----------------- 27 27 ! $Id$ 28 ! bugfix for subroutine calls that contain the decycle_salsa switches as arguments 29 ! 30 ! 4481 2020-03-31 18:55:54Z maronga 28 31 ! Bug fix to the previous commit: the logical switch monotonic_limiter_z missing 29 32 ! from advec_s_ws in salsa_tendency_ij … … 1748 1751 !-- oscillations, which are responsible for high concentration maxima that may appear e.g. under 1749 1752 !-- shear-free stable conditions. 1750 CALL ws_init_flags_scalar( bc_dirichlet_l .OR. bc_radiation_l .OR. decycle_salsa_lr, & 1751 bc_dirichlet_n .OR. bc_radiation_n .OR. decycle_salsa_ns, & 1752 bc_dirichlet_r .OR. bc_radiation_r .OR. decycle_salsa_lr, & 1753 bc_dirichlet_s .OR. bc_radiation_s .OR. decycle_salsa_ns, & 1754 salsa_advc_flags_s, .TRUE. ) 1753 CALL ws_init_flags_scalar( & 1754 bc_dirichlet_l .OR. bc_radiation_l .OR. ( decycle_salsa_lr .AND. nxl == 0 ), & 1755 bc_dirichlet_n .OR. bc_radiation_n .OR. ( decycle_salsa_ns .AND. nyn == ny ), & 1756 bc_dirichlet_r .OR. bc_radiation_r .OR. ( decycle_salsa_lr .AND. nxr == nx ), & 1757 bc_dirichlet_s .OR. bc_radiation_s .OR. ( decycle_salsa_ns .AND. nys == 0 ), & 1758 salsa_advc_flags_s, .TRUE. ) 1755 1759 ENDIF 1756 1760 … … 8105 8109 IF ( ws_scheme_sca ) THEN 8106 8110 CALL advec_s_ws( salsa_advc_flags_s, i, j, rs, id, & 8107 flux_s, diss_s, flux_l, diss_l, i_omp_start, tn,&8108 bc_dirichlet_l .OR. bc_radiation_l .OR. decycle_salsa_lr,&8109 bc_dirichlet_n .OR. bc_radiation_n .OR. decycle_salsa_ns,&8110 bc_dirichlet_r .OR. bc_radiation_r .OR. decycle_salsa_lr,&8111 bc_dirichlet_s .OR. bc_radiation_s .OR. decycle_salsa_ns,&8112 8111 flux_s, diss_s, flux_l, diss_l, i_omp_start, tn, & 8112 bc_dirichlet_l .OR. bc_radiation_l .OR. ( decycle_salsa_lr .AND. nxl == 0 ), & 8113 bc_dirichlet_n .OR. bc_radiation_n .OR. ( decycle_salsa_ns .AND. nyn == ny ), & 8114 bc_dirichlet_r .OR. bc_radiation_r .OR. ( decycle_salsa_lr .AND. nxr == nx ), & 8115 bc_dirichlet_s .OR. bc_radiation_s .OR. ( decycle_salsa_ns .AND. nys == 0 ), & 8116 monotonic_limiter_z ) 8113 8117 ELSE 8114 8118 CALL advec_s_pw( i, j, rs ) … … 8242 8246 IF ( ws_scheme_sca ) THEN 8243 8247 CALL advec_s_ws( salsa_advc_flags_s, rs, id, & 8244 bc_dirichlet_l .OR. bc_radiation_l .OR. decycle_salsa_lr,&8245 bc_dirichlet_n .OR. bc_radiation_n .OR. decycle_salsa_ns,&8246 bc_dirichlet_r .OR. bc_radiation_r .OR. decycle_salsa_lr,&8247 bc_dirichlet_s .OR. bc_radiation_s .OR. decycle_salsa_ns)8248 bc_dirichlet_l .OR. bc_radiation_l .OR. ( decycle_salsa_lr .AND. nxl == 0 ), & 8249 bc_dirichlet_n .OR. bc_radiation_n .OR. ( decycle_salsa_ns .AND. nyn == ny ), & 8250 bc_dirichlet_r .OR. bc_radiation_r .OR. ( decycle_salsa_lr .AND. nxr == nx ), & 8251 bc_dirichlet_s .OR. bc_radiation_s .OR. ( decycle_salsa_ns .AND. nys == 0 ) ) 8248 8252 ELSE 8249 8253 CALL advec_s_pw( rs )
Note: See TracChangeset
for help on using the changeset viewer.