]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove an unused function.
authorDavid Wells <drwells@email.unc.edu>
Sun, 22 Oct 2023 00:34:42 +0000 (20:34 -0400)
committerDavid Wells <drwells@email.unc.edu>
Thu, 26 Oct 2023 19:10:12 +0000 (15:10 -0400)
include/deal.II/grid/grid_tools.h
source/grid/grid_tools_dof_handlers.cc
source/grid/grid_tools_dof_handlers.inst.in

index e51dc09fb5247bc74321e8f1af35fcd4e8b6b5b9..75c988f7a50369d4b3c17e91ddfdec171891111a 100644 (file)
@@ -2430,21 +2430,6 @@ namespace GridTools
       Tensor<1, FaceIterator::AccessorType::space_dimension>(),
     const FullMatrix<double> &matrix = FullMatrix<double>());
 
-
-  /**
-   * Same function as above, but doesn't return the actual orientation
-   */
-  template <typename FaceIterator>
-  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<double> &matrix = FullMatrix<double>());
-
-
   /**
    * 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
index 8b781f1040d5e8f408b6c7c93f7b5833632dc0fd..0617720f77614c0c08b4c6beae65e5498b62912c 100644 (file)
@@ -2552,22 +2552,7 @@ namespace GridTools
       orientation = OrientationLookupTable<dim>::lookup(matching);
 
     return face2_vertices.empty();
-  }
-
-
 
-  template <typename FaceIterator>
-  inline bool
-  orthogonal_equality(
-    const FaceIterator                                           &face1,
-    const FaceIterator                                           &face2,
-    const unsigned int                                            direction,
-    const Tensor<1, FaceIterator::AccessorType::space_dimension> &offset,
-    const FullMatrix<double>                                     &matrix)
-  {
-    // Call the function above with a dummy orientation array
-    std::bitset<3> dummy;
-    return orthogonal_equality(dummy, face1, face2, direction, offset, matrix);
   }
 
 
index 9ca26ba67b79348a728d86e005b2207a72e140b2..d08016bad84457c9ff75b3d18a7c7535f3f6632e 100644 (file)
@@ -267,23 +267,6 @@ for (X : SEQUENTIAL_TRIANGULATION_AND_DOFHANDLER;
         const unsigned int,
         const Tensor<1, deal_II_space_dimension> &,
         const FullMatrix<double> &);
-
-      template bool
-      orthogonal_equality<X::active_face_iterator>(
-        const X::active_face_iterator &,
-        const X::active_face_iterator &,
-        const unsigned int,
-        const Tensor<1, deal_II_space_dimension> &,
-        const FullMatrix<double> &);
-
-      template bool
-      orthogonal_equality<X::face_iterator>(
-        const X::face_iterator &,
-        const X::face_iterator &,
-        const unsigned int,
-        const Tensor<1, deal_II_space_dimension> &,
-        const FullMatrix<double> &);
-
     \}
 #endif
   }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.