diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C index 046adb8a2a..3962697845 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C @@ -142,8 +142,8 @@ void Foam::AMIInterpolation::writeIntersectionOBJ template void Foam::AMIInterpolation::checkPatches ( - const primitivePatch& srcPatch, - const primitivePatch& tgtPatch + const SourcePatch& srcPatch, + const TargetPatch& tgtPatch ) const { const scalar maxBoundsError = 0.05; @@ -166,8 +166,8 @@ void Foam::AMIInterpolation::checkPatches ( "AMIInterpolation::checkPatches" "(" - "const primitivePatch&, " - "const primitivePatch&" + "const SourcePatch&, " + "const TargetPatch&" ")" ) << "Source and target patch bounding boxes are not similar" << nl << " source box span : " << bbSrc.span() << nl @@ -182,7 +182,7 @@ void Foam::AMIInterpolation::checkPatches template void Foam::AMIInterpolation::resetTree ( - const primitivePatch& tgtPatch + const TargetPatch& tgtPatch ) { // Clear the old octree @@ -212,8 +212,8 @@ void Foam::AMIInterpolation::resetTree template Foam::label Foam::AMIInterpolation::calcDistribution ( - const primitivePatch& srcPatch, - const primitivePatch& tgtPatch + const SourcePatch& srcPatch, + const TargetPatch& tgtPatch ) const { label procI = 0; @@ -297,7 +297,7 @@ template void Foam::AMIInterpolation::distributePatches ( const mapDistribute& map, - const primitivePatch& pp, + const TargetPatch& pp, const globalIndex& gi, List& faces, List& points, @@ -394,7 +394,7 @@ void Foam::AMIInterpolation:: distributeAndMergePatches ( const mapDistribute& map, - const primitivePatch& tgtPatch, + const TargetPatch& tgtPatch, const globalIndex& gi, faceList& tgtFaces, pointField& tgtPoints, @@ -509,8 +509,8 @@ template Foam::autoPtr Foam::AMIInterpolation::calcProcMap ( - const primitivePatch& srcPatch, - const primitivePatch& tgtPatch + const SourcePatch& srcPatch, + const TargetPatch& tgtPatch ) const { // Get decomposition of patch @@ -711,7 +711,7 @@ template Foam::label Foam::AMIInterpolation::findTargetFace ( const label srcFaceI, - const primitivePatch& srcPatch + const SourcePatch& srcPatch ) const { label targetFaceI = -1; @@ -745,7 +745,7 @@ template void Foam::AMIInterpolation::appendNbrFaces ( const label faceI, - const primitivePatch& patch, + const TargetPatch& patch, const DynamicList