]> https://gitweb.dealii.org/ - dealii.git/commitdiff
explained in more detail the behaviour of extract_dofs
authorMathias Anselmann <mathias.anselmann@posteo.de>
Wed, 5 Jun 2019 21:13:05 +0000 (23:13 +0200)
committerMathias Anselmann <mathias.anselmann@posteo.de>
Wed, 5 Jun 2019 21:13:05 +0000 (23:13 +0200)
include/deal.II/dofs/dof_tools.h

index ebf85ee84c057f40144c864a17ddcaaff603459c..d25d74f20e0cfe928341c873b0aacfea32e81e6d 100644 (file)
@@ -1346,7 +1346,10 @@ namespace DoFTools
    *   corresponds to a vector component selected by the mask above. The size
    *   of this array must equal DoFHandler::n_locally_owned_dofs(), which for
    *   sequential computations of course equals DoFHandler::n_dofs(). The
-   * previous contents of this array are overwritten.
+   * previous contents of this array are overwritten. Note that the resulting
+   * vector just holds the locally owned extracted degrees of freedom, which
+   * first have to be mapped to the global degrees of freedom, to correspond
+   * with them.
    */
   template <int dim, int spacedim>
   void

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.