Skip to content

Commit 9e4c7ad

Browse files
Merge branch 'gpu-optimizations' of github.com:danieljvickers/MFC into gpu-optimizations
2 parents fdc3839 + 8f371b5 commit 9e4c7ad

4 files changed

Lines changed: 63 additions & 97 deletions

File tree

src/simulation/m_compute_levelset.fpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ contains
3333

3434
integer :: i, patch_id, patch_geometry
3535

36+
print *, "num_gps: ", num_gps
37+
3638
! 3D Patch Geometries
3739
if (p > 0) then
3840

src/simulation/m_ib_patches.fpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,8 +1035,10 @@ contains
10351035
stl_bounding_boxes(patch_id, 3, 1:3) = [bbox%min(3), (bbox%min(3) + bbox%max(3))/2._wp, bbox%max(3)]
10361036
10371037
models(patch_id)%model = model
1038-
models(patch_id)%boundary_v = boundary_v
1039-
models(patch_id)%boundary_edge_count = boundary_edge_count
1038+
if (p == 0) then
1039+
models(patch_id)%boundary_v = boundary_v
1040+
models(patch_id)%boundary_edge_count = boundary_edge_count
1041+
end if
10401042
end if
10411043
end do
10421044
@@ -1101,6 +1103,8 @@ contains
11011103
end if
11021104
end block
11031105
1106+
print *, "Finished reading models"
1107+
11041108
end subroutine s_instantiate_STL_models
11051109
11061110
!> Subroutine that computes a rotation matrix for converting to the rotating frame of the boundary

tests/0A362971/golden-metadata.txt

Lines changed: 51 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)