From ba0de9ace0da8c6ad2fe506ef6fd98c3a524d4a6 Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 10 Jul 2008 20:04:09 +0100 Subject: [PATCH] Removed spurious polyMesh::directions() function. --- src/lagrangian/basic/polyMeshInfo/polyMeshInfo.C | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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_;