|
dune-grid
2.11
|
organizes the caching of sizes for one grid and one GeometryType More...
#include <dune/grid/common/sizecache.hh>

Public Member Functions | |
| SizeCache (const GridType &grid) | |
| constructor taking grid reference More... | |
| void | reset () |
| reset all cached sizes More... | |
| int | size (int level, int codim) const |
| Return number of grid entities of a given codim on a given level in this process. More... | |
| int | size (int level, GeometryType type) const |
| Return number of entities per level and geometry type in this process. More... | |
| int | size (int codim) const |
| Return number of leaf entities of a given codim in this process. More... | |
| int | size (const GeometryType type) const |
| Return number of leaf entities per geometry type in this process. More... | |
organizes the caching of sizes for one grid and one GeometryType
|
inline |
constructor taking grid reference
|
inline |
reset all cached sizes
|
inline |
Return number of grid entities of a given codim on a given level in this process.
|
inline |
Return number of entities per level and geometry type in this process.
|
inline |
Return number of leaf entities of a given codim in this process.
|
inline |
Return number of leaf entities per geometry type in this process.
1.8.14