deal.II version GIT relicensing-2220-ge8e5360a96 2024-12-05 09:50:00+00:00
|
#include <deal.II/grid/tria.h>
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.