mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: parallel blocking with faFieldDecomposer, faMeshReconstructor (fixes #2237)
- the patch remapping in faFieldDecomposer calls weights internalField() which can trigger parallel communication on the complete mesh for some processors only (ie, blocks). Force a priori creation of weights instead. - ensure that the complete mesh (reconstruction helper) is serial when adding patches.
This commit is contained in:
committed by
Andrew Heather
parent
a809265432
commit
9c1f94d4fd
@ -517,7 +517,13 @@ void Foam::faMeshReconstructor::createMesh()
|
||||
);
|
||||
}
|
||||
|
||||
// Serial mesh - no parallel communication
|
||||
|
||||
const bool oldParRun = Pstream::parRun(false);
|
||||
|
||||
completeMesh.addFaPatches(completePatches);
|
||||
|
||||
Pstream::parRun(oldParRun); // Restore parallel state
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user