]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove some functions which we never use.
authorDavid Wells <drwells@email.unc.edu>
Sat, 4 May 2024 15:47:51 +0000 (11:47 -0400)
committerDavid Wells <drwells@email.unc.edu>
Sat, 4 May 2024 15:47:51 +0000 (11:47 -0400)
Orientations are only ever set once (in create_triangulation()) and, in that
context, are always encoded with the combined orientation.

include/deal.II/grid/tria_objects_orientations.h

index a320fdc9b0889683965c6afd2831d22c66d178f3..3f4d75dd926477d2ac52a96031a6ac53a38d28db 100644 (file)
@@ -109,24 +109,6 @@ namespace internal
       set_combined_orientation(const unsigned int  object,
                                const unsigned char value);
 
-      /**
-       * Set the orientation bit of the object.
-       */
-      void
-      set_orientation(const unsigned int object, const bool value);
-
-      /**
-       * Set the rotate bit of the object.
-       */
-      void
-      set_rotation(const unsigned int object, const bool value);
-
-      /**
-       * Set the flip bit of the object.
-       */
-      void
-      set_flip(const unsigned int object, const bool value);
-
       /**
        * Read or write the data of this object to or from a stream for the
        * purpose of serialization using the [BOOST serialization
@@ -250,36 +232,6 @@ namespace internal
 
 
 
-    inline void
-    TriaObjectsOrientations::set_orientation(const unsigned int object,
-                                             const bool         value)
-    {
-      AssertIndexRange(object, n_stored_objects);
-      Utilities::set_bit(flags[object], 0, value);
-    }
-
-
-
-    inline void
-    TriaObjectsOrientations::set_rotation(const unsigned int object,
-                                          const bool         value)
-    {
-      AssertIndexRange(object, n_stored_objects);
-      Utilities::set_bit(flags[object], 1, value);
-    }
-
-
-
-    inline void
-    TriaObjectsOrientations::set_flip(const unsigned int object,
-                                      const bool         value)
-    {
-      AssertIndexRange(object, n_stored_objects);
-      Utilities::set_bit(flags[object], 2, value);
-    }
-
-
-
     template <class Archive>
     void
     TriaObjectsOrientations::serialize(Archive &ar, const unsigned int)

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.