mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: mapNearest: fix re-start
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user