Skip to content
Snippets Groups Projects
Commit c1a371fd authored by mattijs's avatar mattijs
Browse files

COMP: cyclicAMI: merge mistake

parent 6cfca764
Branches
Tags
No related merge requests found
...@@ -273,8 +273,6 @@ Foam::cyclicAMIFvPatchField<Type>::patchNeighbourField ...@@ -273,8 +273,6 @@ Foam::cyclicAMIFvPatchField<Type>::patchNeighbourField
<< " patch:" << this->patch().name() << " patch:" << this->patch().name()
<< endl; << endl;
const Field<Type>& iField = this->primitiveField();
// By pass polyPatch to get nbrId. Instead use cyclicAMIFvPatch virtual // By pass polyPatch to get nbrId. Instead use cyclicAMIFvPatch virtual
// neighbPatch() // neighbPatch()
const cyclicAMIFvPatch& neighbPatch = cyclicAMIPatch_.neighbPatch(); const cyclicAMIFvPatch& neighbPatch = cyclicAMIPatch_.neighbPatch();
...@@ -512,11 +510,6 @@ void Foam::cyclicAMIFvPatchField<Type>::updateInterfaceMatrix ...@@ -512,11 +510,6 @@ void Foam::cyclicAMIFvPatchField<Type>::updateInterfaceMatrix
<< " patch:" << this->patch().name() << " patch:" << this->patch().name()
<< endl; << endl;
const labelUList& nbrFaceCells =
lduAddr.patchAddr(cyclicAMIPatch_.neighbPatchID());
solveScalarField pnf(psiInternal, nbrFaceCells);
const labelUList& faceCells = lduAddr.patchAddr(patchId); const labelUList& faceCells = lduAddr.patchAddr(patchId);
const auto& AMI = const auto& AMI =
...@@ -640,8 +633,7 @@ void Foam::cyclicAMIFvPatchField<Type>::updateInterfaceMatrix ...@@ -640,8 +633,7 @@ void Foam::cyclicAMIFvPatchField<Type>::updateInterfaceMatrix
<< " patch:" << this->patch().name() << " patch:" << this->patch().name()
<< endl; << endl;
const labelUList& nbrFaceCells = const labelUList& faceCells = lduAddr.patchAddr(patchId);
lduAddr.patchAddr(cyclicAMIPatch_.neighbPatchID());
const auto& AMI = this->ownerAMI(); const auto& AMI = this->ownerAMI();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment