mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Update src/volume_calc.cpp
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
d213373a4b
commit
dc5fe42af3
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ std::vector<VolumeCalculation::Result> VolumeCalculation::execute() const
|
|||
#ifdef OPENMC_MPI
|
||||
// update maximum error value on all processes
|
||||
if (mpi::master) {
|
||||
MPI_Bcast(&trigger_val, 1, MPI_DOUBLE, mpi:intracomm);
|
||||
MPI_Bcast(&trigger_val, 1, MPI_DOUBLE, 0, mpi::intracomm);
|
||||
} else {
|
||||
MPI_Recv(&trigger_val, 1, MPI_DOUBLE, 0, 0, mpi::intracomm, MPI_STATUS_IGNORE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue