From: David Wells Date: Sun, 22 Oct 2023 00:34:42 +0000 (-0400) Subject: Remove an unused function. X-Git-Tag: relicensing~340^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=108b3a06d3e01e9922a243efc582bbe6b9361850;p=dealii.git Remove an unused function. --- diff --git a/include/deal.II/grid/grid_tools.h b/include/deal.II/grid/grid_tools.h index e51dc09fb5..75c988f7a5 100644 --- a/include/deal.II/grid/grid_tools.h +++ b/include/deal.II/grid/grid_tools.h @@ -2430,21 +2430,6 @@ namespace GridTools Tensor<1, FaceIterator::AccessorType::space_dimension>(), const FullMatrix &matrix = FullMatrix()); - - /** - * Same function as above, but doesn't return the actual orientation - */ - template - bool - orthogonal_equality( - const FaceIterator &face1, - const FaceIterator &face2, - const unsigned int direction, - const Tensor<1, FaceIterator::AccessorType::space_dimension> &offset = - Tensor<1, FaceIterator::AccessorType::space_dimension>(), - const FullMatrix &matrix = FullMatrix()); - - /** * This function will collect periodic face pairs on the coarsest mesh level * of the given @p mesh (a Triangulation or DoFHandler) and add them to the diff --git a/source/grid/grid_tools_dof_handlers.cc b/source/grid/grid_tools_dof_handlers.cc index 8b781f1040..0617720f77 100644 --- a/source/grid/grid_tools_dof_handlers.cc +++ b/source/grid/grid_tools_dof_handlers.cc @@ -2552,22 +2552,7 @@ namespace GridTools orientation = OrientationLookupTable::lookup(matching); return face2_vertices.empty(); - } - - - template - inline bool - orthogonal_equality( - const FaceIterator &face1, - const FaceIterator &face2, - const unsigned int direction, - const Tensor<1, FaceIterator::AccessorType::space_dimension> &offset, - const FullMatrix &matrix) - { - // Call the function above with a dummy orientation array - std::bitset<3> dummy; - return orthogonal_equality(dummy, face1, face2, direction, offset, matrix); } diff --git a/source/grid/grid_tools_dof_handlers.inst.in b/source/grid/grid_tools_dof_handlers.inst.in index 9ca26ba67b..d08016bad8 100644 --- a/source/grid/grid_tools_dof_handlers.inst.in +++ b/source/grid/grid_tools_dof_handlers.inst.in @@ -267,23 +267,6 @@ for (X : SEQUENTIAL_TRIANGULATION_AND_DOFHANDLER; const unsigned int, const Tensor<1, deal_II_space_dimension> &, const FullMatrix &); - - template bool - orthogonal_equality( - const X::active_face_iterator &, - const X::active_face_iterator &, - const unsigned int, - const Tensor<1, deal_II_space_dimension> &, - const FullMatrix &); - - template bool - orthogonal_equality( - const X::face_iterator &, - const X::face_iterator &, - const unsigned int, - const Tensor<1, deal_II_space_dimension> &, - const FullMatrix &); - \} #endif }