From: David Wells Date: Sat, 4 May 2024 15:47:51 +0000 (-0400) Subject: Remove some functions which we never use. X-Git-Tag: v9.6.0-rc1~309^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e185eb0427d746b674082f1cfd04f3e78c97952b;p=dealii.git Remove some functions which we never use. Orientations are only ever set once (in create_triangulation()) and, in that context, are always encoded with the combined orientation. --- diff --git a/include/deal.II/grid/tria_objects_orientations.h b/include/deal.II/grid/tria_objects_orientations.h index a320fdc9b0..3f4d75dd92 100644 --- a/include/deal.II/grid/tria_objects_orientations.h +++ b/include/deal.II/grid/tria_objects_orientations.h @@ -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 void TriaObjectsOrientations::serialize(Archive &ar, const unsigned int)