- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#include <dune/grid/identitygrid/identitygridindexsets.hh>
Public Types | |
enum | { dim = remove_const<GridImp>::type::dimension } |
Public Member Functions | |
IdentityGridLeafIndexSet (const GridImp &grid) | |
constructor stores reference to a grid and level | |
template<int codim> | |
int | index (const typename remove_const< GridImp >::type::template Codim< codim >::Entity &e) const |
get index of an entity | |
template<int cc> | |
int | subIndex (const typename remove_const< GridImp >::type::Traits::template Codim< cc >::Entity &e, int i, int codim) const |
get index of subEntity of a codim 0 entity | |
int | size (GeometryType type) const |
get number of entities of given type | |
int | size (int codim) const |
get number of entities of given codim | |
const std::vector< GeometryType > & | geomTypes (int codim) const |
Deliver all geometry types used in this grid. | |
template<class EntityType > | |
bool | contains (const EntityType &e) const |
Return true if the given entity is contained in the index set. | |
void | update (const GridImp &grid) |
Public Attributes | |
GridImp * | grid_ |
Dune::IdentityGridLeafIndexSet< GridImp >::IdentityGridLeafIndexSet | ( | const GridImp & | grid | ) | [inline] |
constructor stores reference to a grid and level
bool Dune::IdentityGridLeafIndexSet< GridImp >::contains | ( | const EntityType & | e | ) | const [inline] |
Return true if the given entity is contained in the index set.
const std::vector<GeometryType>& Dune::IdentityGridLeafIndexSet< GridImp >::geomTypes | ( | int | codim | ) | const [inline] |
Deliver all geometry types used in this grid.
int Dune::IdentityGridLeafIndexSet< GridImp >::index | ( | const typename remove_const< GridImp >::type::template Codim< codim >::Entity & | e | ) | const [inline] |
get index of an entity
int Dune::IdentityGridLeafIndexSet< GridImp >::size | ( | int | codim | ) | const [inline] |
get number of entities of given codim
int Dune::IdentityGridLeafIndexSet< GridImp >::size | ( | GeometryType | type | ) | const [inline] |
get number of entities of given type
int Dune::IdentityGridLeafIndexSet< GridImp >::subIndex | ( | const typename remove_const< GridImp >::type::Traits::template Codim< cc >::Entity & | e, | |
int | i, | |||
int | codim | |||
) | const [inline] |
get index of subEntity of a codim 0 entity
void Dune::IdentityGridLeafIndexSet< GridImp >::update | ( | const GridImp & | grid | ) | [inline] |
GridImp* Dune::IdentityGridLeafIndexSet< GridImp >::grid_ |
Referenced by Dune::IdentityGridLeafIndexSet< const IdentityGrid< HostGrid > >::contains(), Dune::IdentityGridLeafIndexSet< const IdentityGrid< HostGrid > >::geomTypes(), Dune::IdentityGridLeafIndexSet< const IdentityGrid< HostGrid > >::index(), Dune::IdentityGridLeafIndexSet< const IdentityGrid< HostGrid > >::size(), Dune::IdentityGridLeafIndexSet< const IdentityGrid< HostGrid > >::subIndex(), and Dune::IdentityGridLeafIndexSet< const IdentityGrid< HostGrid > >::update().
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].