Removal of distanceToClosestSurface_ and indexOfClosestPatch_ members and

associated functions from indexedVertex.H - were temporary variables in
CV3DMesher for cell size control prototype code.
This commit is contained in:
graham
2009-07-08 17:27:55 +01:00
parent 2cecd709f6
commit 94b88a5c45
2 changed files with 6 additions and 26 deletions

View File

@ -161,6 +161,8 @@ Foam::conformalVoronoiMesh::conformalVoronoiMesh
}
cellSizeTest.write();
timeCheck();
}

View File

@ -67,10 +67,6 @@ class indexedVertex
Foam::List<Foam::vector> 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;