From fab8eded10d60a40e5bd3bb4d1445ee19c38b02e Mon Sep 17 00:00:00 2001 From: "Yu-Hsiang M. Tsai" Date: Fri, 17 May 2024 23:39:35 +0200 Subject: [PATCH] update documentation Co-authored-by: Marcel Koch --- include/ginkgo/core/solver/multigrid.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/ginkgo/core/solver/multigrid.hpp b/include/ginkgo/core/solver/multigrid.hpp index 7ca38bff661..96815a414d2 100644 --- a/include/ginkgo/core/solver/multigrid.hpp +++ b/include/ginkgo/core/solver/multigrid.hpp @@ -203,9 +203,10 @@ class Multigrid : public EnableLinOp, /** * Custom selector size_type (size_type level, const LinOp* fine_matrix) * Selector function returns the element index in the vector for any - * given level index and the matrix of the fine level. - * For each level, this function is used to select the smoothers - * and multigrid level generation from the respective lists. + * given level index and the matrix of the fine level. The level 0 is + * the finest level and it is ascending when going coarse levels. + * For each level, this function is used to select the smoothers and + * multigrid level generation from the respective lists. * For example, * ``` * [](size_type level, const LinOp* fine_matrix) {