]> https://gitweb.dealii.org/ - dealii.git/commitdiff
improve docu of DataOut::add_data_vector() 9967/head
authorNiklas Fehn <fehn@lnm.mw.tum.de>
Mon, 27 Apr 2020 14:20:31 +0000 (16:20 +0200)
committerNiklas Fehn <fehn@lnm.mw.tum.de>
Mon, 27 Apr 2020 14:20:31 +0000 (16:20 +0200)
include/deal.II/numerics/data_out_dof_data.h

index ff4d20f8c0d9fafb98e03bc34ce6879a5e49e59e..dbc40dc337d48c8e0c6ae22e0eba8eca1e8be587 100644 (file)
@@ -733,6 +733,11 @@ public:
    * @note The actual type for the vector argument may be any vector type from
    * which FEValues can extract values on a cell using the
    * FEValuesBase::get_function_values() function.
+   *
+   * @note When working in parallel, the vector to be written needs to be ghosted
+   * with read access to all degrees of freedom on the locally owned cells, see
+   * the step-40 or step-37 tutorial programs for details, i.e., it might be
+   * necessary to call data.update_ghost_values().
    */
   template <class VectorType>
   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.