Skip to content

Commit a34a51b

Browse files
authored
Merge pull request #195 from wilfonba/patchesPatch
2 parents 0c5e360 + 59bf8a0 commit a34a51b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pre_process/m_mpi_proxy.fpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@ contains
7171
#:endfor
7272
7373
do i = 1, num_patches_max
74-
#:for VAR in [ 'geometry', 'smooth_patch_id', 'smoothen', &
75-
'alter_patch' ]
74+
#:for VAR in [ 'geometry', 'smooth_patch_id']
7675
call MPI_BCAST(patch_icpp(i)%${VAR}$, 1, MPI_INTEGER, 0, MPI_COMM_WORLD, ierr)
7776
#:endfor
77+
78+
call MPI_BCAST(patch_icpp(i)%smoothen, 1, MPI_LOGICAL, 0, MPI_COMM_WORLD, ierr)
79+
call MPI_BCAST(patch_icpp(i)%alter_patch(0), num_patches_max, MPI_LOGICAL, 0, MPI_COMM_WORLD, ierr)
7880
7981
#:for VAR in [ 'x_centroid', 'y_centroid', 'z_centroid', &
8082
& 'length_x', 'length_y', 'length_z', 'radius', 'epsilon', &

0 commit comments

Comments
 (0)