diff --git a/src/finiteVolume/fvMesh/fvPatches/constraint/cyclic/cyclicFvPatch.C b/src/finiteVolume/fvMesh/fvPatches/constraint/cyclic/cyclicFvPatch.C index 0ae9dd1344d465f8f68be2da303f6fd044aee4c5..af4f50d44dc831b1c7b30f68a009b599a3b907ce 100644 --- a/src/finiteVolume/fvMesh/fvPatches/constraint/cyclic/cyclicFvPatch.C +++ b/src/finiteVolume/fvMesh/fvPatches/constraint/cyclic/cyclicFvPatch.C @@ -44,13 +44,10 @@ void Foam::cyclicFvPatch::makeWeights(scalarField& w) const { const cyclicFvPatch& nbrPatch = neighbFvPatch(); - const scalarField& magFa = magSf(); - const scalarField& nbrMagFa = nbrPatch.magSf(); - const scalarField deltas(nf() & fvPatch::delta()); const scalarField nbrDeltas(nbrPatch.nf() & nbrPatch.fvPatch::delta()); - forAll(magFa, facei) + forAll(deltas, facei) { scalar di = deltas[facei]; scalar dni = nbrDeltas[facei];