BUG: foamyHexMesh: Write control for backgroundMeshDecomposition

This commit is contained in:
laurence
2013-06-14 17:17:54 +01:00
parent f559a96bfd
commit 8803896d37

View File

@ -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);
}
} }