organizes the caching of sizes for one grid and one GeometryType
More...
#include <dune/grid/common/sizecache.hh>
List of all members.
Classes |
struct | CountLeafEntities |
struct | CountLeafEntitiesBase |
struct | CountLeafEntitiesBase< codim, false > |
struct | CountLevelEntities |
struct | CountLevelEntitiesBase |
struct | CountLevelEntitiesBase< codim, false > |
Public Member Functions |
| SizeCache (const GridType &grid) |
| constructor taking grid reference
|
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>
class Dune::SizeCache< GridImp >
organizes the caching of sizes for one grid and one GeometryType
Constructor & Destructor Documentation
constructor taking grid reference
Member Function Documentation
template<class GridImp>
int Dune::SizeCache< GridImp >::size |
( |
int |
level, |
|
|
GeometryType |
type |
|
) |
| const |
|
inline |
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 class was generated from the following file: