]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor documentation update. Reorder two functions.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 7 Nov 2014 20:47:59 +0000 (14:47 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 12 Nov 2014 13:03:24 +0000 (07:03 -0600)
include/deal.II/distributed/tria.h
source/distributed/tria.cc

index adb5fb0333cd14dcf309daad4ed3557145816e30..f0b515b2ef0d4e18cc7450d6034bc33c95dab66c 100644 (file)
@@ -697,25 +697,21 @@ namespace parallel
                                                               const void *)> &unpack_callback);
 
       /**
-       * Returns a permutation vector for the mapping from the
-       * coarse deal cells to the p4est trees. This is the inverse
-       * of get_p4est_tree_to_coarse_cell_permutation.
+       * Return a permutation vector for the order the coarse cells
+       * are handed off to p4est. For example the value of the $i$th element
+       * in this vector is the index of the deal.II coarse cell (counting
+       * from begin(0)) that corresponds to the $i$th tree managed by p4est.
        */
       const std::vector<types::global_dof_index> &
-      get_coarse_cell_to_p4est_tree_permutation() const;
-
-
+      get_p4est_tree_to_coarse_cell_permutation() const;
 
       /**
-       * Returns a permutation vector for the order the coarse cells
-       * are handed of to p4est. For example the first element i in
-       * this vector denotes that the first cell in hierarchical
-       * ordering is the ith deal cell starting from begin(0).
+       * Return a permutation vector for the mapping from the
+       * coarse deal cells to the p4est trees. This is the inverse
+       * of get_p4est_tree_to_coarse_cell_permutation.
        */
       const std::vector<types::global_dof_index> &
-      get_p4est_tree_to_coarse_cell_permutation() const;
-
-
+      get_coarse_cell_to_p4est_tree_permutation() const;
 
       /**
        * Join faces in the p4est forest for periodic boundary
index 55d554d673bd8fd5f19ecd5492a1f8bc219610f4..07f4a6986b9e4f1aeefbcbe2da14b6f6a1abbd93 100644 (file)
@@ -3322,20 +3322,22 @@ namespace parallel
 
     template <int dim, int spacedim>
     const std::vector<types::global_dof_index> &
-    Triangulation<dim, spacedim>::get_coarse_cell_to_p4est_tree_permutation() const
+    Triangulation<dim, spacedim>::get_p4est_tree_to_coarse_cell_permutation() const
     {
-      return coarse_cell_to_p4est_tree_permutation;
+      return p4est_tree_to_coarse_cell_permutation;
     }
 
 
 
     template <int dim, int spacedim>
     const std::vector<types::global_dof_index> &
-    Triangulation<dim, spacedim>::get_p4est_tree_to_coarse_cell_permutation() const
+    Triangulation<dim, spacedim>::get_coarse_cell_to_p4est_tree_permutation() const
     {
-      return p4est_tree_to_coarse_cell_permutation;
+      return coarse_cell_to_p4est_tree_permutation;
     }
 
+
+
     namespace
     {
       /**

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.