Skip to content

Commit 3eaa8db

Browse files
authored
small update for present variable in loop
1 parent 7550502 commit 3eaa8db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Solver/src/NavierStokesSolver/SpatialDiscretization.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ subroutine compute_viscosity_at_faces(no_of_faces, no_of_sides, face_ids, mesh)
10591059

10601060
if ( LESModel % Active ) then
10611061
!$omp do schedule(runtime) private(i,j,delta,mu_smag)
1062-
!$acc parallel loop gang present(mesh, LESModel) async(1)
1062+
!$acc parallel loop gang present(mesh, LESModel, face_ids) async(1)
10631063
do iFace = 1, no_of_faces
10641064
delta = sqrt(mesh % faces(face_ids(iFace)) % geom % surface / product(mesh % faces(face_ids(iFace)) % Nf + 1))
10651065
!$acc loop vector collapse(3)

0 commit comments

Comments
 (0)