dune-grid
2.4.1
|
Iterator over a collection o YGrids A YGrid::Iterator is the heart of an entity in YaspGrid. More...
#include <dune/grid/yaspgrid/ygrid.hh>
Public Member Functions | |
Iterator () | |
default constructor More... | |
Iterator (const YGrid< Coordinates > &yg, const Dune::array< int, dim > &coords, int which=0) | |
construct an iterator from coordinates and component More... | |
Iterator (const YGrid< Coordinates > &yg, bool end=false) | |
create an iterator to start or end of the codimension More... | |
void | reinit (const YGrid< Coordinates > &yg, const Dune::array< int, dim > &coords, int which=0) |
reinitializes an iterator, as if it was just constructed. More... | |
int | coord (int i) const |
return coordinate at the current position (direction i) More... | |
const Dune::array< int, dim > & | coord () const |
return coordinate array at the current postion More... | |
Coordinates::ctype | lowerleft (int i) const |
Dune::FieldVector< typename Coordinates::ctype, dim > | lowerleft () const |
Coordinates::ctype | upperright (int i) const |
Dune::FieldVector< typename Coordinates::ctype, dim > | upperright () const |
Coordinates::ctype | meshsize (int i) const |
return the current meshsize in direction i More... | |
Dune::FieldVector< typename Coordinates::ctype, dim > | meshsize () const |
return the current meshsize vector More... | |
bool | shift (int i) const |
return the shift in direction i More... | |
std::bitset< dim > | shift () const |
return the shift vector More... | |
int | superindex () const |
return the superindex More... | |
Iterator & | operator++ () |
increment to the next entity jumping to next component if necessary More... | |
bool | operator== (const Iterator &i) const |
compare two iterators: component has to match More... | |
bool | operator!= (const Iterator &i) const |
compare two iterators: component has to match More... | |
int | which () const |
return the current component number More... | |
void | move (int i, int dist) |
move the grid, this is only done and needed for codim 0 More... | |
void | move (const iTupel &dist) |
Coordinates * | coordCont () const |
Iterator over a collection o YGrids A YGrid::Iterator is the heart of an entity in YaspGrid.
|
inline |
default constructor
|
inline |
construct an iterator from coordinates and component
References Dune::YGrid< Coordinates >::Iterator::which().
|
inline |
create an iterator to start or end of the codimension
References Dune::YGrid< Coordinates >::end().
|
inline |
return coordinate at the current position (direction i)
References Dune::YGrid< Coordinates >::Iterator::coord().
Referenced by Dune::YGrid< Coordinates >::Iterator::coord().
|
inline |
return coordinate array at the current postion
References Dune::YGrid< Coordinates >::Iterator::coord().
|
inline |
References Dune::YGrid< Coordinates >::Iterator::coordCont().
Referenced by Dune::YGrid< Coordinates >::Iterator::coordCont().
|
inline |
References Dune::YGrid< Coordinates >::Iterator::lowerleft().
Referenced by Dune::YGrid< Coordinates >::Iterator::lowerleft().
|
inline |
|
inline |
return the current meshsize in direction i
References Dune::YGrid< Coordinates >::Iterator::meshsize().
Referenced by Dune::YGrid< Coordinates >::Iterator::meshsize().
|
inline |
return the current meshsize vector
References Dune::YGrid< Coordinates >::Iterator::meshsize().
|
inline |
move the grid, this is only done and needed for codim 0
References Dune::YGrid< Coordinates >::Iterator::move().
Referenced by Dune::YGrid< Coordinates >::Iterator::move().
|
inline |
References Dune::YGrid< Coordinates >::Iterator::move().
|
inline |
compare two iterators: component has to match
|
inline |
increment to the next entity jumping to next component if necessary
|
inline |
compare two iterators: component has to match
|
inline |
reinitializes an iterator, as if it was just constructed.
References Dune::YGrid< Coordinates >::Iterator::which().
|
inline |
return the shift in direction i
References Dune::YGrid< Coordinates >::Iterator::shift().
Referenced by Dune::YGrid< Coordinates >::Iterator::shift().
|
inline |
return the shift vector
References Dune::YGrid< Coordinates >::Iterator::shift().
|
inline |
return the superindex
References Dune::YGrid< Coordinates >::Iterator::superindex().
Referenced by Dune::YGrid< Coordinates >::Iterator::superindex().
|
inline |
References Dune::YGrid< Coordinates >::Iterator::upperright().
Referenced by Dune::YGrid< Coordinates >::Iterator::upperright().
|
inline |
|
inline |
return the current component number
Referenced by Dune::YGrid< Coordinates >::Iterator::Iterator(), and Dune::YGrid< Coordinates >::Iterator::reinit().