From 0fa20f7660f2044914b6d2e5757e5f70a23abd64 Mon Sep 17 00:00:00 2001 From: Niklas Fehn Date: Mon, 27 Apr 2020 16:20:31 +0200 Subject: [PATCH] improve docu of DataOut::add_data_vector() --- include/deal.II/numerics/data_out_dof_data.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/deal.II/numerics/data_out_dof_data.h b/include/deal.II/numerics/data_out_dof_data.h index ff4d20f8c0..dbc40dc337 100644 --- a/include/deal.II/numerics/data_out_dof_data.h +++ b/include/deal.II/numerics/data_out_dof_data.h @@ -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 void -- 2.39.5