implements a collection of YGridComponents which form a codimension Entities of given codimension c need to be represented by d choose c YgridComponents. All entities in one such component share the same set of spanning unit vectors. A YGrid is used to iterate over the entire set of components the codimension consists of. It doesn't hold any data, but instead holds an iterator range into an array of components (which is owned by YGridLevel).
More...
#include <dune/grid/yaspgrid/ygrid.hh>
|
static const int | dim = Coordinates::dimension |
|
template<class Coordinates>
class Dune::YGrid< Coordinates >
implements a collection of YGridComponents which form a codimension Entities of given codimension c need to be represented by d choose c YgridComponents. All entities in one such component share the same set of spanning unit vectors. A YGrid is used to iterate over the entire set of components the codimension consists of. It doesn't hold any data, but instead holds an iterator range into an array of components (which is owned by YGridLevel).
◆ DAI
template<class Coordinates >
◆ iTupel
template<class Coordinates >
◆ begin() [1/2]
template<class Coordinates >
return begin iterator for the codimension and partition the ygrid represents
◆ begin() [2/2]
template<class Coordinates >
return iterator pointint to a specified position
◆ dataBegin()
template<class Coordinates >
get start iterator in the data array
◆ dataEnd()
template<class Coordinates >
get end iterator in the data array
◆ end()
template<class Coordinates >
return end iterator for the codimension and partition the ygrid represents
◆ finalize()
template<class Coordinates >
void Dune::YGrid< Coordinates >::finalize |
( |
const DAI & |
end, |
|
|
int |
artificialOffset = 0 |
|
) |
| |
|
inline |
◆ inside()
template<class Coordinates >
bool Dune::YGrid< Coordinates >::inside |
( |
const iTupel & |
coord, |
|
|
const std::bitset< dim > & |
shift = std::bitset<dim>() |
|
) |
| const |
|
inline |
decide whether a coordinate is in the grid (depending on the component)
◆ setBegin()
template<class Coordinates >
set start iterator in the data array
◆ shiftmapping()
template<class Coordinates >
int Dune::YGrid< Coordinates >::shiftmapping |
( |
const std::bitset< dim > & |
shift | ) |
const |
|
inline |
get which component belongs to a given shift vector
◆ superindex()
template<class Coordinates >
◆ dim
template<class Coordinates >
const int Dune::YGrid< Coordinates >::dim = Coordinates::dimension |
|
static |
The documentation for this class was generated from the following file: