Dune Core Modules (2.9.0)
Dune::YGrid< Coordinates >::Iterator Class Reference
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 | |
default constructor | |
Iterator (const YGrid< Coordinates > &yg, const std::array< int, dim > &coords, int which=0) | |
construct an iterator from coordinates and component | |
Iterator (const YGrid< Coordinates > &yg, bool end=false) | |
create an iterator to start or end of the codimension | |
void | reinit (const YGrid< Coordinates > &yg, const std::array< int, dim > &coords, int which=0) |
reinitializes an iterator, as if it was just constructed. | |
int | coord (int i) const |
return coordinate at the current position (direction i) | |
const std::array< int, dim > & | coord () const |
return coordinate array at the current position | |
Coordinates::ctype | meshsize (int i) const |
return the current meshsize in direction i | |
Dune::FieldVector< typename Coordinates::ctype, dim > | meshsize () const |
return the current meshsize vector | |
bool | shift (int i) const |
return the shift in direction i | |
std::bitset< dim > | shift () const |
return the shift vector | |
int | superindex () const |
return the superindex | |
Iterator & | operator++ () |
increment to the next entity jumping to next component if necessary | |
bool | operator== (const Iterator &i) const |
compare two iterators: component has to match | |
bool | operator!= (const Iterator &i) const |
compare two iterators: component has to match | |
int | which () const |
return the current component number | |
void | move (int i, int dist) |
move the grid, this is only done and needed for codim 0 | |
Detailed Description
template<class Coordinates>
class Dune::YGrid< Coordinates >::Iterator
class Dune::YGrid< Coordinates >::Iterator
Iterator over a collection o YGrids A YGrid::Iterator is the heart of an entity in YaspGrid.
The documentation for this class was generated from the following file:
- dune/grid/yaspgrid/ygrid.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)