@@ -578,20 +578,6 @@ contains
578578 inner_points(count_i)%ib_patch_id = &
579579 patch_id
580580 inner_points(count_i)%slip = patch_ib(patch_id)%slip
581- if ((x_cc(i) - dx(i)) < x_domain%beg .or. &
582- (x_cc(i) + dx(i)) > x_domain%end) then
583- ghost_points(count)%DB(1 ) = 1
584- else
585- ghost_points(count)%DB(1 ) = 0
586- end if
587-
588- if ((y_cc(j) - dy(j)) < y_domain%beg .or. &
589- (y_cc(j) + dy(j)) > y_domain%end) then
590- ghost_points(count)%DB(2 ) = 1
591- else
592- ghost_points(count)%DB(2 ) = 0
593- end if
594-
595581 count_i = count_i + 1
596582
597583 end if
@@ -642,30 +628,6 @@ contains
642628 ib_markers%sf(i, j, k)
643629 inner_points(count_i)%slip = patch_ib(patch_id)%slip
644630
645- if ((x_cc(i) - dx(i)) < x_domain%beg) then
646- ghost_points(count)%DB(1 ) = - 1
647- else if ((x_cc(i) + dx(i)) > x_domain%end) then
648- ghost_points(count)%DB(1 ) = 1
649- else
650- ghost_points(count)%DB(1 ) = 0
651- end if
652-
653- if ((y_cc(j) - dy(j)) < y_domain%beg) then
654- ghost_points(count)%DB(2 ) = - 1
655- else if ((y_cc(j) + dy(j)) > y_domain%end) then
656- ghost_points(count)%DB(2 ) = 1
657- else
658- ghost_points(count)%DB(2 ) = 0
659- end if
660-
661- if ((z_cc(k) - dz(k)) < z_domain%beg) then
662- ghost_points(count)%DB(3 ) = - 1
663- else if ((z_cc(k) + dz(k)) > z_domain%end) then
664- ghost_points(count)%DB(3 ) = 1
665- else
666- ghost_points(count)%DB(3 ) = 0
667- end if
668-
669631 count_i = count_i + 1
670632 end if
671633 end if
0 commit comments