From 80c5293ed2c25499c76150a9e41ae055c6f2b944 Mon Sep 17 00:00:00 2001 From: Simon Sticko Date: Thu, 28 Nov 2019 11:06:19 +0100 Subject: [PATCH] Add note on template parameter to GridTools::get_active_neighbors. --- include/deal.II/grid/grid_tools.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/deal.II/grid/grid_tools.h b/include/deal.II/grid/grid_tools.h index 6d5b276837..175c0b55b1 100644 --- a/include/deal.II/grid/grid_tools.h +++ b/include/deal.II/grid/grid_tools.h @@ -1392,6 +1392,13 @@ namespace GridTools * @param[in] cell An iterator pointing to a cell of the mesh. * @param[out] active_neighbors A list of active descendants of the given * cell + * + * @note Since in C++ the MeshType template argument can not be deduced from + * a function call, you will have to specify it after the function name, as + * for example in + * @code + * GridTools::get_active_neighbors>(cell, active_neighbors) + * @endcode */ template void -- 2.39.5