Skip to content

Commit 47c9ced

Browse files
Need to make some values private
1 parent 7a9a435 commit 47c9ced

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/simulation/m_compute_levelset.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ contains
3636
! 3D Patch Geometries
3737
if (p > 0) then
3838

39-
$:GPU_PARALLEL_LOOP(private='[i]', copy='[gps]', copyin='[patch_ib,Np]')
39+
$:GPU_PARALLEL_LOOP(private='[i,patch_id,patch_geometry]', copy='[gps]', copyin='[patch_ib,Np]')
4040
do i = 1, num_gps
4141

4242
patch_id = gps(i)%ib_patch_id
@@ -61,7 +61,7 @@ contains
6161
! 2D Patch Geometries
6262
elseif (n > 0) then
6363

64-
$:GPU_PARALLEL_LOOP(private='[i]', copy='[gps]', copyin='[patch_ib, Np]')
64+
$:GPU_PARALLEL_LOOP(private='[i,patch_id,patch_geometry]', copy='[gps]', copyin='[patch_ib, Np]')
6565
do i = 1, num_gps
6666

6767
patch_id = gps(i)%ib_patch_id

0 commit comments

Comments
 (0)