From 94b88a5c45b054d0dec9fb118c277f2d825bb0f1 Mon Sep 17 00:00:00 2001 From: graham Date: Wed, 8 Jul 2009 17:27:55 +0100 Subject: [PATCH] Removal of distanceToClosestSurface_ and indexOfClosestPatch_ members and associated functions from indexedVertex.H - were temporary variables in CV3DMesher for cell size control prototype code. --- .../conformalVoronoiMesh.C | 2 ++ .../conformalVoronoiMesh/indexedVertex.H | 30 +++---------------- 2 files changed, 6 insertions(+), 26 deletions(-) diff --git a/src/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C b/src/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C index 9897970bae..584cceb0e4 100644 --- a/src/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C +++ b/src/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.C @@ -161,6 +161,8 @@ Foam::conformalVoronoiMesh::conformalVoronoiMesh } cellSizeTest.write(); + + timeCheck(); } diff --git a/src/conformalVoronoiMesh/conformalVoronoiMesh/indexedVertex.H b/src/conformalVoronoiMesh/conformalVoronoiMesh/indexedVertex.H index 457b2d2394..34fdc0fcaf 100644 --- a/src/conformalVoronoiMesh/conformalVoronoiMesh/indexedVertex.H +++ b/src/conformalVoronoiMesh/conformalVoronoiMesh/indexedVertex.H @@ -67,10 +67,6 @@ class indexedVertex Foam::List alignmentDirections_; - Foam::scalar distanceToClosestSurface_; - - Foam::label indexOfClosestPatch_; - public: @@ -98,9 +94,7 @@ public: Vb(), index_(INTERNAL_POINT), type_(INTERNAL_POINT), - alignmentDirections_(0), - distanceToClosestSurface_(-1), - indexOfClosestPatch_(-1) + alignmentDirections_(0) {} indexedVertex(const Point& p) @@ -108,9 +102,7 @@ public: Vb(p), index_(INTERNAL_POINT), type_(INTERNAL_POINT), - alignmentDirections_(0), - distanceToClosestSurface_(-1), - indexOfClosestPatch_(-1) + alignmentDirections_(0) {} indexedVertex(const Point& p, Cell_handle f) @@ -118,9 +110,7 @@ public: Vb(f, p), index_(INTERNAL_POINT), type_(INTERNAL_POINT), - alignmentDirections_(0), - distanceToClosestSurface_(-1), - indexOfClosestPatch_(-1) + alignmentDirections_(0) {} indexedVertex(Cell_handle f) @@ -128,9 +118,7 @@ public: Vb(f), index_(INTERNAL_POINT), type_(INTERNAL_POINT), - alignmentDirections_(0), - distanceToClosestSurface_(-1), - indexOfClosestPatch_(-1) + alignmentDirections_(0) {} @@ -164,16 +152,6 @@ public: return alignmentDirections_; } - inline Foam::scalar& distanceToClosestSurface() - { - return distanceToClosestSurface_; - } - - inline Foam::label& indexOfClosestPatch() - { - return indexOfClosestPatch_; - } - inline bool uninitialised() const { return type_ == INTERNAL_POINT && index_ == INTERNAL_POINT;