Skip to content
Snippets Groups Projects

Improve extractor

Open Timo Koch requested to merge tkoch/dune-grid-glue:feature/generalize-extractor into master
Files
5
@@ -532,7 +532,7 @@ void GridGlue<P0, P1>::extractGrid (const Extractor & extractor,
std::vector<Dune::GeometryType>& geometryTypes) const
{
std::vector<typename Extractor::Coords> tempcoords;
std::vector<typename Extractor::VertexVector> tempentities;
std::vector<typename Extractor::CornerIndicesVector> tempentities;
extractor.getCoords(tempcoords);
coords.clear();
@@ -546,7 +546,7 @@ void GridGlue<P0, P1>::extractGrid (const Extractor & extractor,
coords.back()[j] = tempcoords[i][j];
}
extractor.getFaces(tempentities);
extractor.getCornerIndices(tempentities);
entities.clear();
for (unsigned int i = 0; i < tempentities.size(); ++i) {
Loading