Commit 641fd300 authored by Timo Koch's avatar Timo Koch

[!62] [factory] Remove unused vertexIndex data member

Merge branch 'cleanup/factory-remove-unused-data-member' into 'master'

See merge request [!62]

  [!62]: Noneextensions/dune-foamgrid/merge_requests/62
parents aa01bbb9 8e3ea7fd
Pipeline #19614 passed with stage
in 4 minutes and 27 seconds
......@@ -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_;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment