mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: mapFieldsPar: map (global) constraint patches
This commit is contained in:
@ -713,7 +713,11 @@ void Foam::meshToMesh::constructNoCuttingPatches
|
||||
forAll(srcBM, patchI)
|
||||
{
|
||||
const polyPatch& pp = srcBM[patchI];
|
||||
if (!polyPatch::constraintType(pp.type()))
|
||||
|
||||
// We want to map all the global patches, including constraint
|
||||
// patches (since they might have mappable properties, e.g.
|
||||
// jumpCyclic). We'll fix the value afterwards.
|
||||
if (!isA<processorPolyPatch>(pp))
|
||||
{
|
||||
srcPatchID.append(pp.index());
|
||||
|
||||
@ -764,7 +768,10 @@ void Foam::meshToMesh::constructFromCuttingPatches
|
||||
|
||||
const polyPatch& srcPatch = srcRegion_.boundaryMesh()[srcPatchName];
|
||||
|
||||
if (!polyPatch::constraintType(srcPatch.type()))
|
||||
// We want to map all the global patches, including constraint
|
||||
// patches (since they might have mappable properties, e.g.
|
||||
// jumpCyclic). We'll fix the value afterwards.
|
||||
if (!isA<processorPolyPatch>(srcPatch))
|
||||
{
|
||||
const polyPatch& tgtPatch = tgtRegion_.boundaryMesh()[tgtPatchName];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user