BUG: reconstructParMesh: support for no finite-area. See #3276
This commit is contained in:
parent
1401ce02b5
commit
462fd687d2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user