mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: foamyHexMesh: Write control for backgroundMeshDecomposition
This commit is contained in:
@ -251,11 +251,16 @@ Foam::cvControls::cvControls
|
|||||||
writeCellShapeControlMesh_ =
|
writeCellShapeControlMesh_ =
|
||||||
Switch(filteringDict.lookup("writeCellShapeControlMesh"));
|
Switch(filteringDict.lookup("writeCellShapeControlMesh"));
|
||||||
|
|
||||||
writeBackgroundMeshDecomposition_ =
|
if (Pstream::parRun())
|
||||||
(
|
{
|
||||||
Switch(filteringDict.lookup("writeBackgroundMeshDecomposition"))
|
writeBackgroundMeshDecomposition_ =
|
||||||
&& Pstream::parRun()
|
Switch(filteringDict.lookup("writeBackgroundMeshDecomposition"));
|
||||||
);
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
writeBackgroundMeshDecomposition_ = Switch(false);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user