From 7033fc082fa0c361031092f02eb60428f1cb06fa Mon Sep 17 00:00:00 2001 From: David Wells Date: Mon, 25 Mar 2024 10:08:13 -0400 Subject: [PATCH] p::d::T: remove another GeometryInfo call. --- source/distributed/tria.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index 6831d10023..611248d2fc 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -3779,6 +3779,7 @@ namespace parallel // the level subdomain ids correct in the multigrid case dealii::Triangulation::add_periodicity(periodicity_vector); + const auto reference_cell = ReferenceCells::get_hypercube(); const auto face_reference_cell = ReferenceCells::get_hypercube(); for (const auto &face_pair : periodicity_vector) { @@ -3864,13 +3865,10 @@ namespace parallel face_idx_list[lower_idx], orientation); const unsigned int second_dealii_idx_on_cell = - GeometryInfo::face_to_cell_vertices( + reference_cell.face_to_cell_vertices( face_idx_list[higher_idx], second_dealii_idx_on_face, - cell_list[higher_idx]->face_orientation( - face_idx_list[higher_idx]), - cell_list[higher_idx]->face_flip(face_idx_list[higher_idx]), - cell_list[higher_idx]->face_rotation( + cell_list[higher_idx]->combined_face_orientation( face_idx_list[higher_idx])); // map back to p4est const unsigned int second_p4est_idx_on_face = -- 2.39.5