Skip to content
Snippets Groups Projects
Commit ffd4b96e authored by Tobias Leibner's avatar Tobias Leibner Committed by Felix Schindler
Browse files

[uggrid] add missing renumbering in UGGridEntity specialization

parent 1442095e
Branches backports/2.5
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@
#include <dune/geometry/referenceelements.hh>
#include <dune/grid/common/gridenums.hh>
#include <dune/grid/uggrid/uggridrenumberer.hh>
namespace Dune {
......@@ -560,7 +561,7 @@ namespace Dune {
std::vector<FieldVector<UGCtype, dim> > geometryCoords(numCorners);
for(size_t i = 0; i < numCorners; i++)
for (size_t j = 0; j < dim; j++)
geometryCoords[i][j] = cornerCoords[i][j];
geometryCoords[UGGridRenumberer<dim-1>::verticesUGtoDUNE(i, type())][j] = cornerCoords[i][j];
geo_ = std::make_shared<GeometryImpl>(type(), geometryCoords);
......
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