Changeset 4717 for palm/trunk/SOURCE/surface_layer_fluxes_mod.f90
- Timestamp:
- Sep 30, 2020 10:27:40 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/surface_layer_fluxes_mod.f90
r4691 r4717 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Fixes and optimizations of OpenMP parallelization, formatting of OpenMP 28 ! directives (J. Resler) 29 ! 30 ! 4691 2020-09-22 14:38:38Z suehring 27 31 ! Bugfix for commit 4593 in vector branch of calc_ol 28 32 ! … … 720 724 !-- This is because the scalar coefficients are also used for other scalars such as passive scalars, 721 725 !-- chemistry and aerosols. 722 !$OMP PARALLEL 726 !$OMP PARALLEL DO PRIVATE( z_mo ) 723 727 !$ACC PARALLEL LOOP PRIVATE(z_mo) & 724 728 !$ACC PRESENT(surf) … … 1050 1054 ! 1051 1055 !-- Calculate the Obukhov length using Newton iteration 1052 !$OMP PARALLEL DO PRIVATE(i, j, z_mo) & 1053 !$OMP PRIVATE(ol_old, ol_m, ol_l, ol_u, f, f_d_ol) 1056 !$OMP PARALLEL DO PRIVATE(i, j, z_mo, ol_old, iter, ol_m, ol_l, ol_u, f, f_d_ol) 1054 1057 !$ACC PARALLEL LOOP PRIVATE(i, j, z_mo) & 1055 1058 !$ACC PRIVATE(ol_old, ol_m, ol_l, ol_u, f, f_d_ol) & … … 1583 1586 1584 1587 IF ( bulk_cloud_model .OR. cloud_droplets ) THEN 1585 !$OMP PARALLEL DO PRIVATE( i, j, k, z_mo )1588 !$OMP PARALLEL DO PRIVATE( i, j, k, z_mo ) 1586 1589 DO m = 1, surf%ns 1587 1590 i = surf%i(m) … … 1952 1955 !-- Compute wsus l={0,1} and wsvs l={2,3} 1953 1956 IF ( mom_w ) THEN 1954 !$OMP PARALLEL 1957 !$OMP PARALLEL DO PRIVATE( i, j, k ) 1955 1958 DO m = 1, surf%ns 1956 1959 i = surf%i(m)
Note: See TracChangeset
for help on using the changeset viewer.