mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: redistributePar: Differing communicator. See #3053.
redistributePar -decompose switches communicator when reading on master. However other processors still get constructed with the worldComm. >v2306 AMI stores the communicator from construction time there was a mismatch
This commit is contained in:
@ -437,6 +437,9 @@ void Foam::cyclicAMIPolyPatch::resetAMI(const UList<point>& points) const
|
||||
|
||||
// Construct/apply AMI interpolation to determine addressing and weights
|
||||
AMIPtr_->upToDate(false);
|
||||
// Note: e.g. redistributePar might construct the AMI with a different
|
||||
// worldComm so reset it to the mesh.comm.
|
||||
AMIPtr_->comm(boundaryMesh().mesh().comm());
|
||||
AMIPtr_->calculate(patch0, nbrPatch0, surfPtr());
|
||||
|
||||
if (debug)
|
||||
|
||||
Reference in New Issue
Block a user