diff --git a/src/lagrangian/basic/polyMeshInfo/polyMeshInfo.C b/src/lagrangian/basic/polyMeshInfo/polyMeshInfo.C index 6333aef8f657f0b2c07acc00958d59e646997855..5442abc990777a21d098a68735626551be99cba0 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::label>& Foam::polyMesh::directions() const -{ - return directions_; -} - - Foam::label Foam::polyMeshInfo::nGeometricD() const { return nGeometricD_;