[](const auto &face, const auto &orientation) -> std::vector<Point<3>> {
std::array<Point<3>, 3> vertices;
std::copy_n(face.first.begin(), face.first.size(), vertices.begin());
- const auto temp = ReferenceCell::Type(ReferenceCell::Type::Tri)
- .permute_according_orientation(vertices, orientation);
+ const auto temp =
+ ReferenceCell::Type::Tri.permute_according_orientation(vertices,
+ orientation);
return std::vector<Point<3>>(temp.begin(),
temp.begin() + face.first.size());
};
[](const auto &face, const auto &orientation) -> std::vector<Point<3>> {
std::array<Point<3>, 4> vertices;
std::copy_n(face.first.begin(), face.first.size(), vertices.begin());
- const auto temp = ReferenceCell::Type(ReferenceCell::Type::Quad)
- .permute_according_orientation(vertices, orientation);
+ const auto temp =
+ ReferenceCell::Type::Quad.permute_according_orientation(vertices,
+ orientation);
return std::vector<Point<3>>(temp.begin(),
temp.begin() + face.first.size());
};