From: David Wells Date: Mon, 25 Mar 2024 14:08:13 +0000 (-0400) Subject: p::d::T: remove another GeometryInfo call. X-Git-Tag: v9.6.0-rc1~438^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7033fc082fa0c361031092f02eb60428f1cb06fa;p=dealii.git p::d::T: remove another GeometryInfo call. --- 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 =