]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Removing some unnecessary typedef 2457/head
authorAli Samii <a.samii@gmail.com>
Mon, 4 Apr 2016 16:44:33 +0000 (11:44 -0500)
committerAli Samii <a.samii@gmail.com>
Mon, 4 Apr 2016 16:44:33 +0000 (11:44 -0500)
include/deal.II/grid/tria_accessor.h
source/grid/tria_accessor.cc

index 5ddae5fa41eceb900a034de816b6669ae35c4017..24cee131190d4d1c0a315ae5bfdd0b5d4b7441dc 100644 (file)
@@ -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;
index 1bd926bc9079710174fcf654824eb87256b1a7ae..c59e62b19894e7b7a2c181b58a4489574423a0c5 100644 (file)
@@ -1920,8 +1920,6 @@ periodic_neighbor (const unsigned int i_face) const
    */
   AssertIndexRange (i_face, GeometryInfo<dim>::faces_per_cell);
   typedef TriaIterator<CellAccessor<dim, spacedim> > cell_iterator;
-  typedef std::pair<cell_iterator, unsigned int> cell_face_pair;
-  typedef std::pair<cell_face_pair, std::bitset<3> > oriented_cell_face_pair;
   cell_iterator my_it(*this);
 
   const typename std::map<std::pair<cell_iterator, unsigned int>,
@@ -1974,8 +1972,6 @@ periodic_neighbor_child_on_subface (const unsigned int i_face,
    */
   AssertIndexRange (i_face, GeometryInfo<dim>::faces_per_cell);
   typedef TriaIterator<CellAccessor<dim, spacedim> > cell_iterator;
-  typedef std::pair<cell_iterator, unsigned int> cell_face_pair;
-  typedef std::pair<cell_face_pair, std::bitset<3> > oriented_cell_face_pair;
   cell_iterator my_it(*this);
   const typename std::map<std::pair<cell_iterator, unsigned int>,
         std::pair<std::pair<cell_iterator, unsigned int>, 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<dim>::faces_per_cell);
   typedef TriaIterator<CellAccessor<dim, spacedim> > cell_iterator;
-  typedef std::pair<cell_iterator, unsigned int> cell_face_pair;
-  typedef std::pair<cell_face_pair, std::bitset<3> > oriented_cell_face_pair;
   const int my_face_index = this->face_index(i_face);
   cell_iterator my_it(*this);
   const typename std::map<std::pair<cell_iterator, unsigned int>,
@@ -2112,8 +2106,6 @@ CellAccessor<dim, spacedim>::periodic_neighbor_face_no (const unsigned int i_fac
    */
   AssertIndexRange (i_face, GeometryInfo<dim>::faces_per_cell);
   typedef TriaIterator<CellAccessor<dim, spacedim> > cell_iterator;
-  typedef std::pair<cell_iterator, unsigned int> cell_face_pair;
-  typedef std::pair<cell_face_pair, std::bitset<3> > oriented_cell_face_pair;
   cell_iterator my_it(*this);
   const typename std::map<std::pair<cell_iterator, unsigned int>,
         std::pair<std::pair<cell_iterator, unsigned int>, std::bitset<3> > >::const_iterator
@@ -2153,8 +2145,6 @@ CellAccessor<dim, spacedim>::periodic_neighbor_is_coarser (const unsigned int i_
    */
   AssertIndexRange (i_face, GeometryInfo<dim>::faces_per_cell);
   typedef TriaIterator<CellAccessor<dim, spacedim> > cell_iterator;
-  typedef std::pair<cell_iterator, unsigned int> cell_face_pair;
-  typedef std::pair<cell_face_pair, std::bitset<3> > oriented_cell_face_pair;
   cell_iterator my_it(*this);
   const typename std::map<std::pair<cell_iterator, unsigned int>,
         std::pair<std::pair<cell_iterator, unsigned int>, std::bitset<3> > >::const_iterator

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.