From 4e4caff5c6f44d520788f0fd4b11c08ee979adb3 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 4 Dec 2018 12:31:46 +0000 Subject: [PATCH] Bugfix: FVM functionality must use fvMesh and fvPatch data only. Immersed boundary support --- .../gradSchemes/leastSquaresGrad/leastSquaresVectors.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C index 3d1b58923..6893d14bf 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C +++ b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C @@ -129,7 +129,7 @@ void Foam::leastSquaresVectors::makeLeastSquaresVectors() const forAll (lsP.boundaryField(), patchI) { const fvPatch& p = mesh().boundary()[patchI]; - const unallocLabelList& fc = p.patch().faceCells(); + const unallocLabelList& fc = p.faceCells(); // Better version of d-vectors: Zeljko Tukovic, 25/Apr/2010 const vectorField pd = p.delta();