Skip to content
Snippets Groups Projects
Commit 1c55166d authored by laurence's avatar laurence
Browse files

BUG: DelaunayMesh: Do not allow vertexCount to be externally updated

parent bc6ed9b7
Branches
Tags
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment