@@ -504,6 +504,10 @@ subroutine LowResGridCalcOutput(n, u, p, xd, y, m, errStat, errMsg)
504504 m% Vdist_low_full = m% Vamb_low
505505
506506 ! Loop through chunks in the low-res grid
507+ ! $OMP parallel do default(none) &
508+ ! $OMP shared(p, m, u, xd, maxPln, maxN_wake) &
509+ ! $OMP private(c_dst, C_rot, c_rot_norm, i, ix, iy, iz, iXYZ, Pos_global, Vamb_low, Vdist_low, Vdist_low_full, &
510+ ! $OMP t_src, n_wake, WAT_k, WAT_V, wk_R_p2i, wk_V, wk_WAT_k, V_qs, WAT_iT, WAT_iY, WAT_iZ)
507511 do c_dst = 1 , size (p% LowRes% WakeChunks)
508512
509513 ! If no wake planes interact with the destination chunk's grid, continue
@@ -923,6 +927,10 @@ subroutine HighResGridCalcOutput(n, u, p, xd, y, m, errStat, errMsg)
923927 !- ---------------------------------------------------------------------------
924928
925929 ! Loop through turbines where wake interaction is possible
930+ ! $OMP parallel do default(none) &
931+ ! $OMP shared(p, m, u, y, maxPln, n_high_low, WAT_B_BoxHi) &
932+ ! $OMP private(t_dst, iXYZ, ix, iy, iz, t_src, n_wake, V_qs, WAT_k, WAT_V, &
933+ ! $OMP wk_R_p2i, wk_V, wk_WAT_k, i_hl, Pos_global, wat_iT, WAT_iY, WAT_iZ)
926934 do t_dst = 1 , p% NumTurbines
927935
928936 ! set the disturbed flow equal to the ambient flow for this time step
0 commit comments