Reference documentation for deal.II version GIT relicensing-1312-g94296a292e 2024-07-25 16:30:01+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
No Matches
internal::TriangulationImplementation::NumberCache< dim > Struct Template Reference

#include <deal.II/grid/tria.h>

Detailed Description

template<int dim>
struct internal::TriangulationImplementation::NumberCache< dim >

Cache class used to store the number of used and active elements (lines or quads etc) within the levels of a triangulation. This is only the declaration of the template, concrete instantiations are below.

In the old days, whenever one wanted to access one of these numbers, one had to perform a loop over all lines, e.g., and count the elements until we hit the end iterator. This is time consuming and since access to the number of lines etc is a rather frequent operation, this was not an optimal solution.

Definition at line 138 of file tria.h.

The documentation for this struct was generated from the following file: