@@ -287,8 +287,10 @@ contains
287287 bottom_left(1 ) = - length_x/ 2
288288 bottom_left(2 ) = - length_y/ 2
289289
290- $:GPU_PARALLEL_LOOP(private= ' [i,j,k,min_dist,idx,side_dists,xy_local,dist_vec]' , copy= ' [levelset%sf,levelset_norm%sf]' ,&
291- & copyin= ' [ib_patch_id,center,bottom_left,top_right,inverse_rotation,rotation,x_cc,y_cc]' , collapse= 2 )
290+ ! $:GPU_PARALLEL_LOOP(private= ' [i,j,k,min_dist,idx,side_dists,xy_local,dist_vec]' , copy= ' [levelset%sf,levelset_norm%sf, dbg]' ,&
291+ ! & copyin= ' [ib_patch_id,center,bottom_left,top_right,inverse_rotation,rotation,x_cc,y_cc]' , collapse= 2 )
292+ $:GPU_PARALLEL_LOOP(private= ' [i,j,k,min_dist,idx,side_dists,xy_local,dist_vec]' , &
293+ & copyin= ' [ib_patch_id,center,bottom_left,top_right,inverse_rotation,rotation]' , collapse= 2 )
292294 do i = 0 , m
293295 do j = 0 , n
294296 xy_local = [x_cc(i) - center(1 ), y_cc(j) - center(2 ), 0._wp ]
@@ -330,6 +332,7 @@ contains
330332 end do
331333 end do
332334
335+
333336 end subroutine s_rectangle_levelset
334337
335338 pure subroutine s_cuboid_levelset (ib_patch_id , levelset , levelset_norm )
0 commit comments