Skip to content

Commit 5989738

Browse files
Changes for multi-node compute
1 parent 8681b59 commit 5989738

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/simulation/m_mpi_proxy.fpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,17 @@ contains
208208

209209
do i = 1, num_ibs
210210
#:for VAR in [ 'radius', 'length_x', 'length_y', 'length_z', &
211-
& 'x_centroid', 'y_centroid', 'z_centroid', 'c', 'm', 'p', 't', 'theta', 'slip', 'mass']
211+
& 'x_centroid', 'y_centroid', 'z_centroid', 'c', 'm', 'p', 't', 'theta', 'slip', 'mass', &
212+
& 'model_threshold']
212213
call MPI_BCAST(patch_ib(i)%${VAR}$, 1, mpi_p, 0, MPI_COMM_WORLD, ierr)
213214
#:endfor
214-
#:for VAR in ['vel', 'angular_vel', 'angles']
215+
#:for VAR in ['vel', 'angular_vel', 'angles', 'model_translate', 'model_scale']
215216
call MPI_BCAST(patch_ib(i)%${VAR}$, 3, mpi_p, 0, MPI_COMM_WORLD, ierr)
216217
#:endfor
217218
call MPI_BCAST(patch_ib(i)%geometry, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
218219
call MPI_BCAST(patch_ib(i)%moving_ibm, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
220+
call MPI_BCAST(patch_ib(i)%model_spc, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
221+
call MPI_BCAST(patch_ib(i)%model_filepath, len(patch_ib(i)%model_filepath), MPI_CHARACTER, 0, MPI_COMM_WORLD, ierr)
219222
end do
220223

221224
do j = 1, num_probes_max

0 commit comments

Comments
 (0)