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_ =
|
||||
Switch(filteringDict.lookup("writeCellShapeControlMesh"));
|
||||
|
||||
writeBackgroundMeshDecomposition_ =
|
||||
(
|
||||
Switch(filteringDict.lookup("writeBackgroundMeshDecomposition"))
|
||||
&& Pstream::parRun()
|
||||
);
|
||||
if (Pstream::parRun())
|
||||
{
|
||||
writeBackgroundMeshDecomposition_ =
|
||||
Switch(filteringDict.lookup("writeBackgroundMeshDecomposition"));
|
||||
}
|
||||
else
|
||||
{
|
||||
writeBackgroundMeshDecomposition_ = Switch(false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user