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();
|
cellSizeTest.write();
|
||||||
|
|
||||||
|
timeCheck();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -67,10 +67,6 @@ class indexedVertex
|
|||||||
|
|
||||||
Foam::List<Foam::vector> alignmentDirections_;
|
Foam::List<Foam::vector> alignmentDirections_;
|
||||||
|
|
||||||
Foam::scalar distanceToClosestSurface_;
|
|
||||||
|
|
||||||
Foam::label indexOfClosestPatch_;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -98,9 +94,7 @@ public:
|
|||||||
Vb(),
|
Vb(),
|
||||||
index_(INTERNAL_POINT),
|
index_(INTERNAL_POINT),
|
||||||
type_(INTERNAL_POINT),
|
type_(INTERNAL_POINT),
|
||||||
alignmentDirections_(0),
|
alignmentDirections_(0)
|
||||||
distanceToClosestSurface_(-1),
|
|
||||||
indexOfClosestPatch_(-1)
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
indexedVertex(const Point& p)
|
indexedVertex(const Point& p)
|
||||||
@ -108,9 +102,7 @@ public:
|
|||||||
Vb(p),
|
Vb(p),
|
||||||
index_(INTERNAL_POINT),
|
index_(INTERNAL_POINT),
|
||||||
type_(INTERNAL_POINT),
|
type_(INTERNAL_POINT),
|
||||||
alignmentDirections_(0),
|
alignmentDirections_(0)
|
||||||
distanceToClosestSurface_(-1),
|
|
||||||
indexOfClosestPatch_(-1)
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
indexedVertex(const Point& p, Cell_handle f)
|
indexedVertex(const Point& p, Cell_handle f)
|
||||||
@ -118,9 +110,7 @@ public:
|
|||||||
Vb(f, p),
|
Vb(f, p),
|
||||||
index_(INTERNAL_POINT),
|
index_(INTERNAL_POINT),
|
||||||
type_(INTERNAL_POINT),
|
type_(INTERNAL_POINT),
|
||||||
alignmentDirections_(0),
|
alignmentDirections_(0)
|
||||||
distanceToClosestSurface_(-1),
|
|
||||||
indexOfClosestPatch_(-1)
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
indexedVertex(Cell_handle f)
|
indexedVertex(Cell_handle f)
|
||||||
@ -128,9 +118,7 @@ public:
|
|||||||
Vb(f),
|
Vb(f),
|
||||||
index_(INTERNAL_POINT),
|
index_(INTERNAL_POINT),
|
||||||
type_(INTERNAL_POINT),
|
type_(INTERNAL_POINT),
|
||||||
alignmentDirections_(0),
|
alignmentDirections_(0)
|
||||||
distanceToClosestSurface_(-1),
|
|
||||||
indexOfClosestPatch_(-1)
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -164,16 +152,6 @@ public:
|
|||||||
return alignmentDirections_;
|
return alignmentDirections_;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline Foam::scalar& distanceToClosestSurface()
|
|
||||||
{
|
|
||||||
return distanceToClosestSurface_;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline Foam::label& indexOfClosestPatch()
|
|
||||||
{
|
|
||||||
return indexOfClosestPatch_;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline bool uninitialised() const
|
inline bool uninitialised() const
|
||||||
{
|
{
|
||||||
return type_ == INTERNAL_POINT && index_ == INTERNAL_POINT;
|
return type_ == INTERNAL_POINT && index_ == INTERNAL_POINT;
|
||||||
|
|||||||
Reference in New Issue
Block a user