]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
add documentation
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 8 Dec 2013 15:49:12 +0000 (15:49 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 8 Dec 2013 15:49:12 +0000 (15:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@31940 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/grid/grid_tools.h

index aca9b0b885bc08050cb80a16efa79ea3e1be3187..b65081d4a516acd9b1cc1b2d372ca965da95cffc 100644 (file)
@@ -1066,7 +1066,9 @@ namespace GridTools
 
   /**
    * This function will collect periodic face pairs on the
-   * coarsest mesh level of the given @p container (a Triangulation or DoFHandler).
+   * coarsest mesh level of the given @p container (a Triangulation or
+   * DoFHandler) and add them to the vector @p matched_pairs leaving the
+   * original contents intact.
    *
    * Define a 'first' boundary as all boundary faces having boundary_id
    * @p b_id1 and a 'second' boundary consisting of all faces belonging
@@ -1093,6 +1095,11 @@ namespace GridTools
    * parallel::distributed::Triangulation::add_periodicity to enforce
    * periodicity algebraically.
    *
+   * @note Because elements will be added to @p matched_pairs (and existing
+   * entries will be preserved), it is possible to call this function several
+   * times with different boundary ids to generate a vector with all periodic
+   * pairs.
+   *
    * @author Daniel Arndt, Matthias Maier, 2013
    */
   template<typename CONTAINER>
@@ -1117,7 +1124,8 @@ namespace GridTools
    * face with local face index <code>2*dimension+1</code> and boundary
    * indicator @p b_id.
    *
-   * This function will collect periodic face pairs on the coarsest mesh level.
+   * This function will collect periodic face pairs on the coarsest mesh level
+   * and add them to @p matched_pairs leaving the original contents intact.
    *
    * @note This version of collect_periodic_face_pairs  will not work on
    * meshes with cells not in @ref GlossFaceOrientation

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.