@@ -391,6 +391,7 @@ contains
391391 real (wp), dimension (1 :2 ) :: length, center !< x and y coordinates in local IB frame
392392
393393 ! Transferring the rectangle' s centroid and length information
394+
394395 center(1) = patch_ib(patch_id)%x_centroid + real(xp, wp)*(glb_bounds(1)%end - glb_bounds(1)%beg)
395396 center(2) = patch_ib(patch_id)%y_centroid + real(yp, wp)*(glb_bounds(2)%end - glb_bounds(2)%beg)
396397
@@ -495,6 +496,7 @@ contains
495496 real(wp) :: corner_distance
496497
497498 ! Transferring the cuboid' s centroid
499+
498500 center(1 ) = patch_ib(patch_id)%x_centroid + real (xp, wp)* (glb_bounds(1 )%end - glb_bounds(1 )%beg)
499501 center(2 ) = patch_ib(patch_id)%y_centroid + real (yp, wp)* (glb_bounds(2 )%end - glb_bounds(2 )%beg)
500502 center(3 ) = patch_ib(patch_id)%z_centroid + real (zp, wp)* (glb_bounds(3 )%end - glb_bounds(3 )%beg)
@@ -555,6 +557,7 @@ contains
555557 real(wp) :: corner_distance
556558
557559 ! Transferring the cylindrical patch' s centroid
560+
558561 center(1 ) = patch_ib(patch_id)%x_centroid + real (xp, wp)* (glb_bounds(1 )%end - glb_bounds(1 )%beg)
559562 center(2 ) = patch_ib(patch_id)%y_centroid + real (yp, wp)* (glb_bounds(2 )%end - glb_bounds(2 )%beg)
560563 center(3 ) = patch_ib(patch_id)%z_centroid + real (zp, wp)* (glb_bounds(3 )%end - glb_bounds(3 )%beg)
@@ -617,6 +620,7 @@ contains
617620 real(wp) :: bounding_radius
618621
619622 ! Transferring the ellipse' s centroid
623+
620624 center(1 ) = patch_ib(patch_id)%x_centroid + real (xp, wp)* (glb_bounds(1 )%end - glb_bounds(1 )%beg)
621625 center(2 ) = patch_ib(patch_id)%y_centroid + real (yp, wp)* (glb_bounds(2 )%end - glb_bounds(2 )%beg)
622626
0 commit comments