Skip to content

Commit 76ec5ed

Browse files
Fixed bug with centroid and length not being comunicated over MPI
1 parent 7a05539 commit 76ec5ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/simulation/m_mpi_proxy.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ contains
202202
end do
203203
204204
do i = 1, num_ibs
205-
#:for VAR in [ 'radius', 'length_x', 'length_y', &
206-
& 'x_centroid', 'y_centroid', 'c', 'm', 'p', 't', 'theta', 'slip']
205+
#:for VAR in [ 'radius', 'length_x', 'length_y', 'length_z', &
206+
& 'x_centroid', 'y_centroid', 'z_centroid', 'c', 'm', 'p', 't', 'theta', 'slip']
207207
call MPI_BCAST(patch_ib(i)%${VAR}$, 1, mpi_p, 0, MPI_COMM_WORLD, ierr)
208208
#:endfor
209209
#:for VAR in ['vel', 'angular_vel', 'angles']

0 commit comments

Comments
 (0)