mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Correcting the size of the displacement list in the SourceSite MPI interface object (#3356)
This commit is contained in:
parent
08e7043f8d
commit
18d9f97551
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ void initialize_mpi(MPI_Comm intracomm)
|
|||
|
||||
// Create bank datatype
|
||||
SourceSite b;
|
||||
MPI_Aint disp[10];
|
||||
MPI_Aint disp[11];
|
||||
MPI_Get_address(&b.r, &disp[0]);
|
||||
MPI_Get_address(&b.u, &disp[1]);
|
||||
MPI_Get_address(&b.E, &disp[2]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue