Skip to content
Snippets Groups Projects
Commit 6eac6fdc authored by Christian Engwer's avatar Christian Engwer
Browse files

make all simplices clockwise

[[Imported from SVN: r1819]]
parent f23a8324
Branches
Tags
No related merge requests found
......@@ -691,6 +691,12 @@ namespace Dune {
++vertex[perm[i]];
indices[i+1] = pointIndex(vertex);
}
if (kuhnIndex%2 == 1)
for(int i = 0; i < (dimension+1)/2; ++i) {
int t = indices[i];
indices[i] = indices[dimension-i];
indices[dimension-i] = t;
}
return indices;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment