diff --git a/src/lagrangian/basic/polyMeshInfo/polyMeshInfo.C b/src/lagrangian/basic/polyMeshInfo/polyMeshInfo.C index 6333aef8f6..5442abc990 100644 --- a/src/lagrangian/basic/polyMeshInfo/polyMeshInfo.C +++ b/src/lagrangian/basic/polyMeshInfo/polyMeshInfo.C @@ -137,7 +137,6 @@ void Foam::polyMeshInfo::queryWedge() void Foam::polyMeshInfo::queryDirections() { - vector dirVec = vector::zero; forAll(mesh_.boundaryMesh(), patchi) @@ -147,7 +146,8 @@ void Foam::polyMeshInfo::queryDirections() if (mesh_.boundaryMesh()[patchi].size()) { nEmpty_++; - dirVec += sum(cmptMag(mesh_.boundaryMesh()[patchi].faceAreas())); + dirVec += + sum(cmptMag(mesh_.boundaryMesh()[patchi].faceAreas())); } } } @@ -226,12 +226,6 @@ Foam::polyMeshInfo::~polyMeshInfo() // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -const Foam::Vector& Foam::polyMesh::directions() const -{ - return directions_; -} - - Foam::label Foam::polyMeshInfo::nGeometricD() const { return nGeometricD_;