From: Peter Munch Date: Fri, 5 Jun 2020 08:01:33 +0000 (+0200) Subject: Remove unneded template argument X-Git-Tag: v9.3.0-rc1~1462^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a7c00c2b1b9ea133819e936eb10d69785f315b2;p=dealii.git Remove unneded template argument --- diff --git a/include/deal.II/grid/tria_accessor.templates.h b/include/deal.II/grid/tria_accessor.templates.h index 20a7f6db38..bde6188cc9 100644 --- a/include/deal.II/grid/tria_accessor.templates.h +++ b/include/deal.II/grid/tria_accessor.templates.h @@ -529,10 +529,8 @@ namespace internal } - template inline static unsigned int - line_index(const TriaAccessor<3, dim, spacedim> &accessor, - const unsigned int i) + line_index(const TriaAccessor<3, 3, 3> &accessor, const unsigned int i) { const auto pair = GeometryInfo<3>::standard_hex_line_to_quad_line_index(i); @@ -564,10 +562,8 @@ namespace internal } - template inline static unsigned int - quad_index(const TriaAccessor<3, dim, spacedim> &accessor, - const unsigned int i) + quad_index(const TriaAccessor<3, 3, 3> &accessor, const unsigned int i) { return accessor.tria->levels[accessor.present_level] ->cells.get_object(accessor.present_index) @@ -594,10 +590,9 @@ namespace internal } - template inline static bool - face_orientation(const TriaAccessor<3, dim, spacedim> &accessor, - const unsigned int face) + face_orientation(const TriaAccessor<3, 3, 3> &accessor, + const unsigned int face) { return get_bit( accessor.tria->levels[accessor.present_level]->face_orientations @@ -662,10 +657,8 @@ namespace internal - template inline static bool - face_flip(const TriaAccessor<3, dim, spacedim> &accessor, - const unsigned int face) + face_flip(const TriaAccessor<3, 3, 3> &accessor, const unsigned int face) { AssertIndexRange(face, GeometryInfo<3>::faces_per_cell); Assert(accessor.present_index * GeometryInfo<3>::faces_per_cell + face < @@ -699,10 +692,9 @@ namespace internal } - template inline static bool - face_rotation(const TriaAccessor<3, dim, spacedim> &accessor, - const unsigned int face) + face_rotation(const TriaAccessor<3, 3, 3> &accessor, + const unsigned int face) { AssertIndexRange(face, GeometryInfo<3>::faces_per_cell); Assert(accessor.present_index * GeometryInfo<3>::faces_per_cell + face < @@ -753,10 +745,9 @@ namespace internal } - template inline static bool - line_orientation(const TriaAccessor<3, 3, spacedim> &accessor, - const unsigned int line) + line_orientation(const TriaAccessor<3, 3, 3> &accessor, + const unsigned int line) { Assert(accessor.used(), TriaAccessorExceptions::ExcCellNotUsed()); AssertIndexRange(line, GeometryInfo<3>::lines_per_cell); @@ -824,11 +815,10 @@ namespace internal } - template inline static void - set_face_orientation(const TriaAccessor<3, dim, spacedim> &accessor, - const unsigned int face, - const bool value) + set_face_orientation(const TriaAccessor<3, 3, 3> &accessor, + const unsigned int face, + const bool value) { Assert(accessor.used(), TriaAccessorExceptions::ExcCellNotUsed()); AssertIndexRange(face, GeometryInfo<3>::faces_per_cell); @@ -858,11 +848,10 @@ namespace internal } - template inline static void - set_face_flip(const TriaAccessor<3, dim, spacedim> &accessor, - const unsigned int face, - const bool value) + set_face_flip(const TriaAccessor<3, 3, 3> &accessor, + const unsigned int face, + const bool value) { AssertIndexRange(face, GeometryInfo<3>::faces_per_cell); Assert(accessor.present_index * GeometryInfo<3>::faces_per_cell + face < @@ -892,11 +881,10 @@ namespace internal } - template inline static void - set_face_rotation(const TriaAccessor<3, dim, spacedim> &accessor, - const unsigned int face, - const bool value) + set_face_rotation(const TriaAccessor<3, 3, 3> &accessor, + const unsigned int face, + const bool value) { AssertIndexRange(face, GeometryInfo<3>::faces_per_cell); Assert(accessor.present_index * GeometryInfo<3>::faces_per_cell + face < @@ -955,9 +943,8 @@ namespace internal } - template inline static void - set_line_orientation(const TriaAccessor<3, dim, spacedim> &, + set_line_orientation(const TriaAccessor<3, 3, 3> &, const unsigned int, const bool) { @@ -997,10 +984,9 @@ namespace internal - template inline static unsigned int - vertex_index(const TriaAccessor<3, dim, spacedim> &accessor, - const unsigned int corner) + vertex_index(const TriaAccessor<3, 3, 3> &accessor, + const unsigned int corner) { const auto pair = GeometryInfo<3>::standard_hex_vertex_to_quad_vertex_index(corner);