mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: foamToEnsight : filter proc patches only if running parallel
This commit is contained in:
@ -70,12 +70,15 @@ void Foam::ensightMesh::correct()
|
||||
// Patches are output. Check that they're synced.
|
||||
mesh_.boundaryMesh().checkParallelSync(true);
|
||||
|
||||
allPatchNames_ = wordList::subList
|
||||
allPatchNames_ = mesh_.boundaryMesh().names();
|
||||
if (Pstream::parRun())
|
||||
{
|
||||
allPatchNames_.setSize
|
||||
(
|
||||
mesh_.boundaryMesh().names(),
|
||||
mesh_.boundary().size()
|
||||
- mesh_.globalData().processorPatches().size()
|
||||
);
|
||||
}
|
||||
|
||||
if (patches_)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user