Skip to content
Snippets Groups Projects
Commit af00ac8c authored by Elias Pipping's avatar Elias Pipping
Browse files

[Cleanup] Fix up labelling: Swap rear/front

parent eff58ab9
No related branches found
No related tags found
No related merge requests found
...@@ -208,11 +208,11 @@ MyFaces<GridView>::MyFaces(GridView const &gridView) ...@@ -208,11 +208,11 @@ MyFaces<GridView>::MyFaces(GridView const &gridView)
}); });
#if DIM == 3 #if DIM == 3
front.insertFacesByProperty([&](typename GridView::Intersection const &in) { front.insertFacesByProperty([&](typename GridView::Intersection const &in) {
return isClose(-MyGeometry::depth / 2.0, in.geometry().center()[2]); return isClose(MyGeometry::depth / 2.0, in.geometry().center()[2]);
}); });
back.insertFacesByProperty([&](typename GridView::Intersection const &in) { back.insertFacesByProperty([&](typename GridView::Intersection const &in) {
return isClose(MyGeometry::depth / 2.0, in.geometry().center()[2]); return isClose(-MyGeometry::depth / 2.0, in.geometry().center()[2]);
}); });
#endif #endif
......
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