Skip to content
Snippets Groups Projects
Commit 8e3ea7fd authored by Timo Koch's avatar Timo Koch
Browse files

[factory] Remove unused vertexIndex data member

parent aa01bbb9
No related branches found
No related tags found
1 merge request!62[factory] Remove unused vertexIndex data member
Pipeline #19613 passed
......@@ -37,8 +37,7 @@ template <int dimgrid, int dimworld>
/** \brief Default constructor */
GridFactoryBase()
: factoryOwnsGrid_(true),
vertexIndex_(0)
: factoryOwnsGrid_(true)
{
grid_ = new FoamGrid<dimgrid, dimworld>;
grid_->entityImps_.resize(1);
......@@ -54,8 +53,7 @@ template <int dimgrid, int dimworld>
the one you supplied here.
*/
GridFactoryBase(FoamGrid<dimgrid, dimworld>* grid)
: factoryOwnsGrid_(false),
vertexIndex_(0)
: factoryOwnsGrid_(false)
{
grid_ = grid;
grid_->entityImps_.resize(1);
......@@ -121,9 +119,6 @@ template <int dimgrid, int dimworld>
// grid was handed over from the outside
bool factoryOwnsGrid_;
/** \brief Counter that creates the vertex indices */
unsigned int vertexIndex_;
/** \brief Array containing all vertices */
std::vector<FoamGridEntityImp<0, dimgrid, dimworld>*> vertexArray_;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment