From c8ba8b838898e192d73cd8d06fb3bbc92bd36b30 Mon Sep 17 00:00:00 2001 From: Niklas Fehn Date: Fri, 28 Feb 2020 13:38:35 +0100 Subject: [PATCH] improve documentation of MGTransferMatrixFree::interpolate_to_mg() --- include/deal.II/multigrid/mg_transfer_matrix_free.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/deal.II/multigrid/mg_transfer_matrix_free.h b/include/deal.II/multigrid/mg_transfer_matrix_free.h index d612a6f43a..ac0c938866 100644 --- a/include/deal.II/multigrid/mg_transfer_matrix_free.h +++ b/include/deal.II/multigrid/mg_transfer_matrix_free.h @@ -156,8 +156,11 @@ public: * Restrict fine-mesh field @p src to each multigrid level in @p dof_handler and * store the result in @p dst. * - * If @p dst is empty or has incorrect locally owned size, it will be - * resized to locally relevant vectors on each level. + * The argument @p dst has to be initialized with the correct size according + * to the number of levels of the triangulation. + * + * If an inner vector of @p dst is empty or has incorrect locally owned size, + * it will be resized to locally relevant degrees of freedom on each level. */ template void -- 2.39.5