mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -161,6 +161,8 @@ Foam::conformalVoronoiMesh::conformalVoronoiMesh
|
||||
}
|
||||
|
||||
cellSizeTest.write();
|
||||
|
||||
timeCheck();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user