]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Clarify comment for IndexSet::make_trilinos_map 702/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sat, 28 Mar 2015 19:48:51 +0000 (20:48 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sat, 28 Mar 2015 20:32:22 +0000 (21:32 +0100)
include/deal.II/base/index_set.h

index 5747faf03aa54864c0dc04079d2ccb67ab1dab80..cfbb631b949f8871d102993b2337fba87d3de008 100644 (file)
@@ -316,11 +316,12 @@ public:
    * owned by one.
    *
    * On the other hand, if the second argument is true, then the index sets
-   * can be overlapping, though they still need to contain each index exactly
-   * once on all processors taken together. This is a useful operation if we
-   * want to create vectors that not only contain the locally owned indices,
-   * but for example also the elements that correspond to degrees of freedom
-   * located on ghost cells.
+   * can be overlapping, and they also do not need to span the whole index
+   * set. This is a useful operation if we want to create vectors that not
+   * only contain the locally owned indices, but for example also the elements
+   * that correspond to degrees of freedom located on ghost cells. Another
+   * application of this method is to select a subset of the elements of a
+   * vector, e.g. for extracting only certain solution components.
    */
   Epetra_Map make_trilinos_map (const MPI_Comm &communicator = MPI_COMM_WORLD,
                                 const bool      overlapping  = false) const;

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.