From: Daniel Arndt Date: Wed, 1 Aug 2018 18:14:37 +0000 (+0200) Subject: Improve documentation of Triangulation X-Git-Tag: v9.1.0-rc1~862^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7011%2Fhead;p=dealii.git Improve documentation of Triangulation --- diff --git a/include/deal.II/grid/tria.h b/include/deal.II/grid/tria.h index e69f67210a..bbba763462 100644 --- a/include/deal.II/grid/tria.h +++ b/include/deal.II/grid/tria.h @@ -572,7 +572,8 @@ namespace internal *
  • Counting the number of cells on a specific level * @code * template - * int Triangulation::n_cells (const int level) const + * unsigned int + * Triangulation::n_cells (const int level) const * { * int n=0; * for (const auto &cell : cell_iterators_on_level(level)) @@ -583,7 +584,8 @@ namespace internal * Another way, which uses std::distance, would be to write * @code * template - * int Triangulation::n_cells (const int level) const + * unsigned int + * Triangulation::n_cells (const int level) const * { * int n=0; * distance (begin(level),