mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: reconstructParMesh: support for no finite-area. See #3276
This commit is contained in:
@ -788,7 +788,7 @@ int main(int argc, char *argv[])
|
|||||||
const bool fullMatch = args.found("fullMatch");
|
const bool fullMatch = args.found("fullMatch");
|
||||||
const bool procMatch = args.found("procMatch");
|
const bool procMatch = args.found("procMatch");
|
||||||
const bool writeCellDist = args.found("cellDist");
|
const bool writeCellDist = args.found("cellDist");
|
||||||
const bool doFiniteArea = !args.found("no-finite-area");
|
bool doFiniteArea = !args.found("no-finite-area");
|
||||||
const bool writeAddrOnly = args.found("addressing-only");
|
const bool writeAddrOnly = args.found("addressing-only");
|
||||||
|
|
||||||
const scalar mergeTol =
|
const scalar mergeTol =
|
||||||
@ -1465,6 +1465,15 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
|
|
||||||
// Finite-area mapping
|
// Finite-area mapping
|
||||||
|
doFiniteArea = false;
|
||||||
|
forAll(procFaMeshes, proci)
|
||||||
|
{
|
||||||
|
if (procFaMeshes.set(proci))
|
||||||
|
{
|
||||||
|
doFiniteArea = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (doFiniteArea)
|
if (doFiniteArea)
|
||||||
{
|
{
|
||||||
// Addressing from processor to reconstructed case
|
// Addressing from processor to reconstructed case
|
||||||
|
|||||||
Reference in New Issue
Block a user