From ea9345590e200347eb6bbd4b912be22d8ccbc5da Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Thu, 9 Nov 2017 16:24:17 +0000 Subject: [PATCH] ACMI: Removed unnecessary argument from resetAMI method --- .../cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C | 5 +---- .../cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.H | 8 ++------ 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C b/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C index b2e4bce412..aaec06e1d8 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C +++ b/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C @@ -42,10 +42,7 @@ const Foam::scalar Foam::cyclicACMIPolyPatch::tolerance_ = 1e-10; // * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * // -void Foam::cyclicACMIPolyPatch::resetAMI -( - const AMIPatchToPatchInterpolation::interpolationMethod& -) const +void Foam::cyclicACMIPolyPatch::resetAMI() const { if (owner()) { diff --git a/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.H b/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.H index 5e21fb5be5..4a7e8666bb 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.H +++ b/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -81,11 +81,7 @@ protected: // Protected Member Functions //- Reset the AMI interpolator - virtual void resetAMI - ( - const AMIPatchToPatchInterpolation::interpolationMethod& AMIMethod = - AMIPatchToPatchInterpolation::imFaceAreaWeight - ) const; + virtual void resetAMI() const; //- Initialise the calculation of the patch geometry virtual void initGeometry(PstreamBuffers&);