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;