From: Niklas Fehn Date: Fri, 28 Feb 2020 12:38:35 +0000 (+0100) Subject: improve documentation of MGTransferMatrixFree::interpolate_to_mg() X-Git-Tag: v9.2.0-rc1~496^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8ba8b838898e192d73cd8d06fb3bbc92bd36b30;p=dealii.git improve documentation of MGTransferMatrixFree::interpolate_to_mg() --- 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