From 47efc8f898243424d71f935be00786014e2ece60 Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Mon, 15 Oct 2018 09:17:19 +0100 Subject: [PATCH] cyclicAMIPointPatchField: Fixed type-detection for ACMI --- .../cyclicAMIPointPatchField/cyclicAMIPointPatchField.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPointPatchField/cyclicAMIPointPatchField.C b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPointPatchField/cyclicAMIPointPatchField.C index 03de285507..b97936324f 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPointPatchField/cyclicAMIPointPatchField.C +++ b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPointPatchField/cyclicAMIPointPatchField.C @@ -57,7 +57,7 @@ Foam::cyclicAMIPointPatchField::cyclicAMIPointPatchField ppiPtr_(nullptr), nbrPpiPtr_(nullptr) { - if (!isType(p)) + if (!isA(p)) { FatalIOErrorInFunction ( @@ -83,7 +83,7 @@ Foam::cyclicAMIPointPatchField::cyclicAMIPointPatchField ppiPtr_(nullptr), nbrPpiPtr_(nullptr) { - if (!isType(this->patch())) + if (!isA(this->patch())) { FatalErrorInFunction << "Field type does not correspond to patch type for patch "