for (unsigned int i = 0; i < n_points; ++i)
origin[i] = i;
- const auto permuted =
- ReferenceCell::permute_according_orientation(type, origin, o);
+ const auto permuted = type.permute_according_orientation(origin, o);
const unsigned int origin_back =
- ReferenceCell::compute_orientation(type, permuted, origin);
+ type.compute_orientation(permuted, origin);
AssertDimension(o, origin_back);
}
}
{
- const auto &face = dummy.begin()->face(face_no);
- const auto permuted = ReferenceCell::permute_according_orientation(
- ReferenceCell::Type::Tri,
- std::array<unsigned int, 3>{
- {face->vertex_index(0), face->vertex_index(1), face->vertex_index(2)}},
- orientation);
+ const auto &face = dummy.begin()->face(face_no);
+ const auto permuted =
+ ReferenceCell::Type(ReferenceCell::Type::Tri)
+ .permute_according_orientation(
+ std::array<unsigned int, 3>{{face->vertex_index(0),
+ face->vertex_index(1),
+ face->vertex_index(2)}},
+ orientation);
auto direction =
cross_product_3d(vertices[permuted[1]] - vertices[permuted[0]],
for (const auto face_no :
ReferenceCell::internal::Info::get_cell(reference_cell).face_indices())
{
- deallog << reference_cell.unit_normal_vectors<dim>(face_no) << std::endl;
+ deallog << ReferenceCell::unit_normal_vectors<dim>(reference_cell,
+ face_no)
+ << std::endl;
for (unsigned int i = 0; i < dim - 1; ++i)
- deallog << ReferenceCell::unit_tangential_vectors<dim>(reference_cell,
- face_no,
- i)
+ deallog << reference_cell.template unit_tangential_vectors<dim>(face_no,
+ i)
<< std::endl;
}
deallog << std::endl;