BUG: mapNearest: fix re-start
This commit is contained in:
parent
3ad9f0cb62
commit
f41ec09b3e
1 changed files with 5 additions and 3 deletions
|
|
@ -97,11 +97,13 @@ void Foam::mapNearestAMI<SourcePatch, TargetPatch>::setNextNearestFaces
|
|||
}
|
||||
}
|
||||
|
||||
forAll(mapFlag, srcFaceI)
|
||||
forAll(mapFlag, faceI)
|
||||
{
|
||||
if (!mapFlag[srcFaceI])
|
||||
if (mapFlag[faceI])
|
||||
{
|
||||
tgtFaceI = this->findTargetFace(srcFaceI);
|
||||
srcFaceI = faceI;
|
||||
tgtFaceI = this->findTargetFace(faceI);
|
||||
|
||||
if (tgtFaceI == -1)
|
||||
{
|
||||
const vectorField& srcCf = this->srcPatch_.faceCentres();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue