Skip to content
Snippets Groups Projects
Commit 981fbe10 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

[bugfix] Don't iterate over the All_Partition elements, only over Interior_Partition

[[Imported from SVN: r9906]]
parent 9676a4bd
Branches
No related tags found
No related merge requests found
......@@ -278,7 +278,7 @@ public:
std::vector<int> offsets(numElements);
i = 0;
int offsetCounter = 0;
for (auto it = gridView.template begin<0>(); it != gridView.template end<0>(); ++it)
for (auto it = gridView.template begin<0,Dune::Interior_Partition>(); it != gridView.template end<0,Dune::Interior_Partition>(); ++it)
{
if (it->type().isQuadrilateral())
#ifdef SECOND_ORDER
......@@ -293,7 +293,7 @@ public:
std::vector<int> cellTypes(numElements);
i = 0;
for (auto it = gridView.template begin<0>(); it != gridView.template end<0>(); ++it)
for (auto it = gridView.template begin<0,Dune::Interior_Partition>(); it != gridView.template end<0,Dune::Interior_Partition>(); ++it)
{
if (it->type().isQuadrilateral())
#ifdef SECOND_ORDER
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment