diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C index 610affe33c..eaf1ebeb5a 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C @@ -45,8 +45,7 @@ const Foam::Enum > Foam::AMIInterpolation::interpolationMethodNames_ ({ - { interpolationMethod::imDirect, "directAMI" }, - { interpolationMethod::imMapNearest, "mapNearestAMI" }, + { interpolationMethod::imNearestFace, "nearestFaceAMI" }, { interpolationMethod::imFaceAreaWeight, "faceAreaWeightAMI" }, { interpolationMethod::imPartialFaceAreaWeight, "partialFaceAreaWeightAMI" } }); diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H index a3c5a61aa2..82848433c5 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H @@ -91,8 +91,7 @@ public: //- Enumeration specifying interpolation method enum interpolationMethod { - imDirect, - imMapNearest, + imNearestFace, imFaceAreaWeight, imPartialFaceAreaWeight }; diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/directAMI/directAMI.C b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/directAMI/directAMI.C deleted file mode 100644 index 58170bbe32..0000000000 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/directAMI/directAMI.C +++ /dev/null @@ -1,329 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | www.openfoam.com - \\/ M anipulation | -------------------------------------------------------------------------------- - Copyright (C) 2013-2016 OpenFOAM Foundation -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM. If not, see . - -\*---------------------------------------------------------------------------*/ - -#include "directAMI.H" - -// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // - -template -void Foam::directAMI::appendToDirectSeeds -( - labelList& mapFlag, - labelList& srcTgtSeed, - DynamicList