domainDecomposition: Fix is-conformal logic

This commit is contained in:
Will Bainbridge
2023-07-19 11:24:28 +01:00
parent afdaf49b4f
commit 54c945ba7a

View File

@ -1331,13 +1331,14 @@ Foam::domainDecomposition::procFaceAddressingBf() const
procMeshes_[proci].boundary().size() procMeshes_[proci].boundary().size()
); );
} }
if (completeMesh().conformal() && procMeshes_[0].conformal()) if (completeConformal() && procsConformal())
{ {
// Nothing to do // Nothing to do
} }
else if (!completeMesh().conformal()) else if (!completeConformal())
{ {
// Decompose non-conformal addressing // Decompose non-conformal addressing
const surfaceLabelField::Boundary& polyFacesBf = const surfaceLabelField::Boundary& polyFacesBf =
completeMesh().polyFacesBf(); completeMesh().polyFacesBf();
@ -1399,7 +1400,7 @@ Foam::domainDecomposition::procFaceAddressingBf() const
} }
} }
} }
else // if (!procMeshes_[0].conformal()) else // if (!procsConformal())
{ {
// Reconstruct non-conformal addressing // Reconstruct non-conformal addressing