Dune Core Modules (2.5.2)
implements a collection of multiple std::deque<Intersection> Intersections with neighboring processors are stored as std::deque<Intersection>. Eachsuch intersection only holds one YGridComponent. To do all communication associated with one codimension, multiple such deques have to be concatenated. YGridList manges this concatenation. As for YGrids, YGridList doesn't hold any data, but an iterator range into a data array owned by YGridLevel. More...
#include <dune/grid/yaspgrid/ygrid.hh>
Classes | |
struct | Intersection |
type describing an intersection with a neighboring processor More... | |
Public Member Functions | |
Iterator | begin () const |
return iterator pointing to the begin of the container | |
Iterator | end () const |
return iterator pointing to the end of the container | |
void | setBegin (typename std::array< std::deque< Intersection >, StaticPower< 2, dim >::power >::iterator begin) |
set start iterator in the data array | |
DAI | dataBegin () const |
get start iterator in the data array | |
DAI | dataEnd () const |
get end iterator in the data array | |
int | size () const |
return the size of the container, this is the sum of the sizes of all deques | |
void | finalize (DAI end, const YGrid< Coordinates > &ygrid) |
finalize the YGridLIst More... | |
Detailed Description
class Dune::YGridList< Coordinates >
implements a collection of multiple std::deque<Intersection> Intersections with neighboring processors are stored as std::deque<Intersection>. Eachsuch intersection only holds one YGridComponent. To do all communication associated with one codimension, multiple such deques have to be concatenated. YGridList manges this concatenation. As for YGrids, YGridList doesn't hold any data, but an iterator range into a data array owned by YGridLevel.
Member Function Documentation
◆ finalize()
|
inline |
finalize the YGridLIst
set offsets allow the YGridComponents in the Intersctions to behave as YGrids
The documentation for this class was generated from the following file:
- dune/grid/yaspgrid/ygrid.hh