Skip to content

Commit 5b1aa96

Browse files
Swapped IB marker output to match the original instead of the projection.
1 parent 1883b9b commit 5b1aa96

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/simulation/m_ibm.fpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ contains
627627
encoded_patch_id = ib_markers%sf(i, j, k)
628628
call s_decode_patch_periodicity(encoded_patch_id, patch_id, xp, yp, zp)
629629
ghost_points_in(local_idx)%ib_patch_id = patch_id
630+
ib_markers%sf(i, j, k) = patch_id
630631
ghost_points_in(local_idx)%x_periodicity = xp
631632
ghost_points_in(local_idx)%y_periodicity = yp
632633
ghost_points_in(local_idx)%z_periodicity = zp
@@ -668,6 +669,7 @@ contains
668669
encoded_patch_id = ib_markers%sf(i, j, k)
669670
call s_decode_patch_periodicity(encoded_patch_id, patch_id, xp, yp, zp)
670671
inner_points_in(local_idx)%ib_patch_id = patch_id
672+
ib_markers%sf(i, j, k) = patch_id
671673
inner_points_in(local_idx)%slip = patch_ib(patch_id)%slip
672674
673675
end if

0 commit comments

Comments
 (0)