organizes the caching of sizes for one grid and one GeometryType
More...
#include <dune/grid/common/sizecache.hh>
Public Member Functions |
| SingleTypeSizeCache (const GridImp &grid, bool isSimplex, bool isCube, bool notWorry=false) |
void | reset () |
| reset all cached sizes
|
int | size (int level, int codim) const |
| Return number of grid entities of a given codim on a given level in this process.
|
int | size (int level, GeometryType type) const |
| Return number of entities per level and geometry type in this process.
|
int | size (int codim) const |
| Return number of leaf entities of a given codim in this process.
|
int | size (const GeometryType type) const |
| Return number of leaf entities per geometry type in this process.
|
Detailed Description
template<class GridImp>
struct Dune::SingleTypeSizeCache< GridImp >
organizes the caching of sizes for one grid and one GeometryType
Constructor & Destructor Documentation
Member Function Documentation
template<class GridImp>
int Dune::SizeCache< GridImp >::size |
( |
int |
level, |
|
|
GeometryType |
type |
|
) |
| const |
|
inlineinherited |
Return number of entities per level and geometry type in this process.
Return number of leaf entities of a given codim in this process.
Return number of leaf entities per geometry type in this process.
The documentation for this struct was generated from the following file: