dune-grid  2.1.1
Public Member Functions
Dune::SizeCache< GridImp > Class Template Reference

oranizes the caching of sizes for one grid More...

#include <dune/grid/common/sizecache.hh>

List of all members.

Public Member Functions

 SizeCache (const GridType &grid)
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
 number of leaf entities per codim and geometry type in this process
int ghostSize (int level, int codim) const
 number of leaf entities per codim and geometry type in this process

Detailed Description

template<class GridImp>
class Dune::SizeCache< GridImp >

oranizes the caching of sizes for one grid


Constructor & Destructor Documentation

template<class GridImp >
Dune::SizeCache< GridImp >::SizeCache ( const GridType &  grid) [inline]

Member Function Documentation

template<class GridImp >
int Dune::SizeCache< GridImp >::ghostSize ( int  codim) const [inline]

number of leaf entities per codim and geometry type in this process

References Dune::SingleTypeSizeCache< GridImp >::ghostSize().

template<class GridImp >
int Dune::SizeCache< GridImp >::ghostSize ( int  level,
int  codim 
) const [inline]

number of leaf entities per codim and geometry type in this process

References Dune::SingleTypeSizeCache< GridImp >::ghostSize().

template<class GridImp >
int Dune::SizeCache< 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.

References Dune::SingleTypeSizeCache< GridImp >::size().

template<class GridImp >
int Dune::SizeCache< GridImp >::size ( int  level,
int  codim,
GeometryType  type 
) const [inline]

number of entities per level, codim and geometry type in this process

References Dune::SingleTypeSizeCache< GridImp >::size().

template<class GridImp >
int Dune::SizeCache< GridImp >::size ( int  codim) const [inline]

number of leaf entities per codim in this process

References Dune::SingleTypeSizeCache< GridImp >::size().

template<class GridImp >
int Dune::SizeCache< GridImp >::size ( int  codim,
GeometryType  type 
) const [inline]

number of leaf entities per codim and geometry type in this process

References Dune::SingleTypeSizeCache< GridImp >::size().


The documentation for this class was generated from the following file: