BUG: DelaunayMesh: Do not allow vertexCount to be externally updated
This commit is contained in:
parent
bc6ed9b70a
commit
1c55166d36
@ -122,7 +122,7 @@ Foam::DelaunayMesh<Triangulation>::DelaunayMesh
|
||||
if (indices.headerOk())
|
||||
{
|
||||
vh->index() = indices[ptI];
|
||||
vertexCount()++;
|
||||
vertexCount_++;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -201,7 +201,6 @@ public:
|
||||
inline void resetCellCount();
|
||||
|
||||
inline label vertexCount() const;
|
||||
inline label& vertexCount();
|
||||
|
||||
inline void resetVertexCount();
|
||||
|
||||
|
@ -124,12 +124,6 @@ Foam::label Foam::DelaunayMesh<Triangulation>::vertexCount() const
|
||||
return vertexCount_;
|
||||
}
|
||||
|
||||
template<class Triangulation>
|
||||
Foam::label& Foam::DelaunayMesh<Triangulation>::vertexCount()
|
||||
{
|
||||
return vertexCount_;
|
||||
}
|
||||
|
||||
|
||||
template<class Triangulation>
|
||||
void Foam::DelaunayMesh<Triangulation>::resetVertexCount()
|
||||
|
Loading…
Reference in New Issue
Block a user