From 3b10cd84c6fe3dc8decd66ee96fa27b5212d8bc1 Mon Sep 17 00:00:00 2001 From: Andrew Heather <> Date: Wed, 23 Jun 2021 21:20:24 +0100 Subject: [PATCH] ENH: Provided backwards compat for deprecated partialFaceAreaWeightAMI --- .../faceAreaWeightAMI/faceAreaWeightAMI.C | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/faceAreaWeightAMI/faceAreaWeightAMI.C b/src/meshTools/AMIInterpolation/AMIInterpolation/faceAreaWeightAMI/faceAreaWeightAMI.C index 395b1830f4..6163d56812 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/faceAreaWeightAMI/faceAreaWeightAMI.C +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/faceAreaWeightAMI/faceAreaWeightAMI.C @@ -38,6 +38,17 @@ namespace Foam defineTypeNameAndDebug(faceAreaWeightAMI, 0); addToRunTimeSelectionTable(AMIInterpolation, faceAreaWeightAMI, dict); addToRunTimeSelectionTable(AMIInterpolation, faceAreaWeightAMI, component); + + // Backwards compatibility for pre v2106 versions + // - partialFaceAreaWeightAMI deprecated in v2106 + addNamedToRunTimeSelectionTable + ( + AMIInterpolation, + faceAreaWeightAMI, + dict, + partialFaceAreaWeightAMI + ); + } // * * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * //