Dune Core Modules (unstable)

Dune::YGridList< Coordinates > Class Template Reference

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 >, Dune::power(2, dim)>::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

template<class Coordinates>
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()

template<class Coordinates >
void Dune::YGridList< Coordinates >::finalize ( DAI  end,
const YGrid< Coordinates > &  ygrid 
)
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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 20, 23:30, 2024)