Commit 6e3d1817 authored by Oliver Sander's avatar Oliver Sander

Merge branch 'fix-uggrid-vertex-reordering' into 'master'

Apply vertex reordering to boundary segment vertices

Closes staging/dune-uggrid#18

See merge request !145
parent 08643ae1
Pipeline #1705 failed with stage
in 380 minutes and 6 seconds
......@@ -327,7 +327,7 @@ createGrid()
// We copy four vertices here even if the segment is a triangle -- it doesn't matter
int vertices_c_style[dimworld*2-2];
for (int j=0; j<dimworld*2-2; j++)
vertices_c_style[j] = boundarySegmentVertices_[i][j];
vertices_c_style[j] = isBoundaryNode[boundarySegmentVertices_[i][j]];
if (grid_->boundarySegments_[i]) {
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