@@ -98,6 +98,12 @@ contains
9898 end if
9999 end do
100100
101+ ! $:GPU_UPDATE(device= ' [patch_ib]' )
102+ ! $:GPU_UPDATE(host= ' [patch_ib]' )
103+ ! print * , " Moving IBM " , patch_ib(1 )%moving_ibm
104+ ! print * , " X Velocity " , patch_ib(1 )%vel(1 )
105+ ! print * , " Y Velocity " , patch_ib(1 )%vel(2 )
106+
101107 ! Allocating the patch identities bookkeeping variable
102108 allocate (patch_id_fp(0 :m, 0 :n, 0 :p))
103109
@@ -934,20 +940,22 @@ contains
934940 call s_propagate_mib(i) ! TODO :: THIS IS DONE TERRIBLY WITH EULER METHOD
935941 end if
936942 end do
943+ $:GPU_UPDATE(device=' [patch_ib]' )
937944
938945 ! recompute the new ib_patch locations and broadcast them.
939946 call s_apply_ib_patches(ib_markers%sf(0:m, 0:n, 0:p), levelset, levelset_norm)
940947 call s_populate_ib_buffers() ! transmitts the new IB markers via MPI
948+ $:GPU_UPDATE(device=' [ib_markers%sf]' )
941949
942950 ! recalculate the ghost point locations and coefficients
943951 call s_find_num_ghost_points(num_gps, num_inner_gps)
944952 $:GPU_UPDATE(device=' [num_gps, num_inner_gps]' )
945953
946954 call s_find_ghost_points(ghost_points, inner_points)
947- $:GPU_UPDATE(device=' [ghost_points, inner_points]' )
955+ ! $:GPU_UPDATE(device=' [ghost_points, inner_points]' )
948956
949957 call s_compute_image_points(ghost_points, levelset, levelset_norm)
950- $:GPU_UPDATE(device=' [ghost_points]' )
958+ ! $:GPU_UPDATE(device=' [ghost_points]' )
951959
952960 call s_compute_interpolation_coeffs(ghost_points)
953961 $:GPU_UPDATE(device=' [ghost_points]' )
0 commit comments