From d23b52508f7f763b909f3a3cbcaefb240d0a4503 Mon Sep 17 00:00:00 2001 From: Ali Samii Date: Mon, 4 Apr 2016 11:44:33 -0500 Subject: [PATCH] Removing some unnecessary typedef --- include/deal.II/grid/tria_accessor.h | 10 ++++++---- source/grid/tria_accessor.cc | 10 ---------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/include/deal.II/grid/tria_accessor.h b/include/deal.II/grid/tria_accessor.h index 5ddae5fa41..24cee13119 100644 --- a/include/deal.II/grid/tria_accessor.h +++ b/include/deal.II/grid/tria_accessor.h @@ -2567,15 +2567,17 @@ public: periodic_neighbor_of_coarser_periodic_neighbor (const unsigned face_no) const; /** - * This function returns the index of the periodic neighbor. If there is - * no periodic neighbor at the given face, the returned value is -1. + * This function returns the index of the periodic neighbor at the + * @c ith face of the current cell. If there is no periodic neighbor + * at the given face, the returned value is -1. */ int periodic_neighbor_index (const unsigned int i) const; /** - * This function returns the level of the periodic neighbor. If there is - * no periodic neighbor at the given face, the returned value is -1. + * This function returns the level of the periodic neighbor at the + * @c ith face of the current cell. If there is no periodic neighbor + * at the given face, the returned value is -1. */ int periodic_neighbor_level (const unsigned int i) const; diff --git a/source/grid/tria_accessor.cc b/source/grid/tria_accessor.cc index 1bd926bc90..c59e62b198 100644 --- a/source/grid/tria_accessor.cc +++ b/source/grid/tria_accessor.cc @@ -1920,8 +1920,6 @@ periodic_neighbor (const unsigned int i_face) const */ AssertIndexRange (i_face, GeometryInfo::faces_per_cell); typedef TriaIterator > cell_iterator; - typedef std::pair cell_face_pair; - typedef std::pair > oriented_cell_face_pair; cell_iterator my_it(*this); const typename std::map, @@ -1974,8 +1972,6 @@ periodic_neighbor_child_on_subface (const unsigned int i_face, */ AssertIndexRange (i_face, GeometryInfo::faces_per_cell); typedef TriaIterator > cell_iterator; - typedef std::pair cell_face_pair; - typedef std::pair > oriented_cell_face_pair; cell_iterator my_it(*this); const typename std::map, std::pair, std::bitset<3> > >::const_iterator @@ -2028,8 +2024,6 @@ periodic_neighbor_of_coarser_periodic_neighbor (const unsigned int i_face) const */ AssertIndexRange (i_face, GeometryInfo::faces_per_cell); typedef TriaIterator > cell_iterator; - typedef std::pair cell_face_pair; - typedef std::pair > oriented_cell_face_pair; const int my_face_index = this->face_index(i_face); cell_iterator my_it(*this); const typename std::map, @@ -2112,8 +2106,6 @@ CellAccessor::periodic_neighbor_face_no (const unsigned int i_fac */ AssertIndexRange (i_face, GeometryInfo::faces_per_cell); typedef TriaIterator > cell_iterator; - typedef std::pair cell_face_pair; - typedef std::pair > oriented_cell_face_pair; cell_iterator my_it(*this); const typename std::map, std::pair, std::bitset<3> > >::const_iterator @@ -2153,8 +2145,6 @@ CellAccessor::periodic_neighbor_is_coarser (const unsigned int i_ */ AssertIndexRange (i_face, GeometryInfo::faces_per_cell); typedef TriaIterator > cell_iterator; - typedef std::pair cell_face_pair; - typedef std::pair > oriented_cell_face_pair; cell_iterator my_it(*this); const typename std::map, std::pair, std::bitset<3> > >::const_iterator -- 2.39.5