dune-grid
2.1.1
|
organizes the caching of sizes for one grid and one GeometryType More...
#include <dune/grid/common/sizecache.hh>
Classes | |
struct | CountLeafEntities |
struct | CountLeafEntities< SzCacheType, pitype, 0 > |
struct | CountLevelEntities |
struct | CountLevelEntities< SzCacheType, pitype, 0 > |
Public Member Functions | |
SingleTypeSizeCache (const GridType &grid, const bool isSimplex, const bool isCube, bool notWorry=false) | |
int | size (int level, int codim) const |
Number of grid entities per level and codim because lbegin and lend are none const, and we need this methods counting the entities on each level, you know. | |
int | size (int level, int codim, GeometryType type) const |
number of entities per level, codim and geometry type in this process | |
int | size (int codim) const |
number of leaf entities per codim in this process | |
int | size (int codim, GeometryType type) const |
number of leaf entities per codim and geometry type in this process | |
int | ghostSize (int codim) const |
return number of ghost entities for codimension codim | |
int | ghostSize (int level, int codim) const |
ghostSize is zero for this grid |
organizes the caching of sizes for one grid and one GeometryType
Dune::SingleTypeSizeCache< GridImp >::SingleTypeSizeCache | ( | const GridType & | grid, |
const bool | isSimplex, | ||
const bool | isCube, | ||
bool | notWorry = false |
||
) | [inline] |
int Dune::SingleTypeSizeCache< GridImp >::ghostSize | ( | int | codim | ) | const [inline] |
return number of ghost entities for codimension codim
Referenced by Dune::SizeCache< GridImp >::ghostSize().
int Dune::SingleTypeSizeCache< GridImp >::ghostSize | ( | int | level, |
int | codim | ||
) | const [inline] |
ghostSize is zero for this grid
int Dune::SingleTypeSizeCache< GridImp >::size | ( | int | level, |
int | codim | ||
) | const [inline] |
Number of grid entities per level and codim because lbegin and lend are none const, and we need this methods counting the entities on each level, you know.
Referenced by Dune::SingleTypeSizeCache< GridType >::ghostSize(), Dune::SingleTypeSizeCache< GridType >::size(), and Dune::SizeCache< GridImp >::size().
int Dune::SingleTypeSizeCache< GridImp >::size | ( | int | level, |
int | codim, | ||
GeometryType | type | ||
) | const [inline] |
number of entities per level, codim and geometry type in this process
int Dune::SingleTypeSizeCache< GridImp >::size | ( | int | codim | ) | const [inline] |
number of leaf entities per codim in this process
int Dune::SingleTypeSizeCache< GridImp >::size | ( | int | codim, |
GeometryType | type | ||
) | const [inline] |
number of leaf entities per codim and geometry type in this process