Skip to content
Snippets Groups Projects
Commit 8f2ef939 authored by Oliver Sander's avatar Oliver Sander
Browse files

make constructors initialize member variable refinementType_

[[Imported from SVN: r2729]]
parent 8ec0736c
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,8 @@ Dune::OneDGridLevelIteratorFactory<0>::lbegin (const OneDGrid<1,1> * g, int leve
template <int dim, int dimworld>
Dune::OneDGrid<dim,dimworld>::OneDGrid(int numElements, double leftBoundary, double rightBoundary)
: leafIndexSet_(*this),
: refinementType_(LOCAL),
leafIndexSet_(*this),
idSet_(*this)
{
typedef const OneDGrid<dim,dimworld> GridImp;
......@@ -91,7 +92,8 @@ Dune::OneDGrid<dim,dimworld>::OneDGrid(int numElements, double leftBoundary, dou
template <int dim, int dimworld>
Dune::OneDGrid<dim,dimworld>::OneDGrid(const SimpleVector<OneDCType>& coords)
: leafIndexSet_(*this),
: refinementType_(LOCAL),
leafIndexSet_(*this),
idSet_(*this)
{
typedef const OneDGrid<dim,dimworld> GridImp;
......
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