From c1a371fda972aea11b10e4a6dca091e02bbf3944 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Tue, 19 Sep 2023 17:57:56 +0100 Subject: [PATCH] COMP: cyclicAMI: merge mistake --- .../constraint/cyclicAMI/cyclicAMIFvPatchField.C | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C index b8a2c340332..9c49a73c07a 100644 --- a/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/constraint/cyclicAMI/cyclicAMIFvPatchField.C @@ -273,8 +273,6 @@ Foam::cyclicAMIFvPatchField<Type>::patchNeighbourField << " patch:" << this->patch().name() << endl; - const Field<Type>& iField = this->primitiveField(); - // By pass polyPatch to get nbrId. Instead use cyclicAMIFvPatch virtual // neighbPatch() const cyclicAMIFvPatch& neighbPatch = cyclicAMIPatch_.neighbPatch(); @@ -512,11 +510,6 @@ void Foam::cyclicAMIFvPatchField<Type>::updateInterfaceMatrix << " patch:" << this->patch().name() << endl; - const labelUList& nbrFaceCells = - lduAddr.patchAddr(cyclicAMIPatch_.neighbPatchID()); - - solveScalarField pnf(psiInternal, nbrFaceCells); - const labelUList& faceCells = lduAddr.patchAddr(patchId); const auto& AMI = @@ -640,8 +633,7 @@ void Foam::cyclicAMIFvPatchField<Type>::updateInterfaceMatrix << " patch:" << this->patch().name() << endl; - const labelUList& nbrFaceCells = - lduAddr.patchAddr(cyclicAMIPatch_.neighbPatchID()); + const labelUList& faceCells = lduAddr.patchAddr(patchId); const auto& AMI = this->ownerAMI(); -- GitLab