Dune Core Modules (unstable)
ygrid.hh File Reference
This provides a YGrid, the elemental component of the yaspgrid implementation. More...
#include <array>
#include <vector>
#include <bitset>
#include <deque>
#include <dune/common/fvector.hh>
#include <dune/common/math.hh>
#include <dune/common/streamoperators.hh>
Go to the source code of this file.
Classes | |
class | Dune::YGridComponent< Coordinates > |
class | Dune::YGridComponent< Coordinates >::Iterator |
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). More... | |
class | Dune::YGrid< Coordinates >::Iterator |
Iterator over a collection o YGrids A YGrid::Iterator is the heart of an entity in YaspGrid. More... | |
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. More... | |
struct | Dune::YGridList< Coordinates >::Intersection |
type describing an intersection with a neighboring processor More... | |
Namespaces | |
namespace | Dune |
Dune namespace. | |
Functions | |
template<int d, typename ct > | |
std::array< int, d > | Dune::Yasp::sizeArray (const std::array< std::vector< ct >, d > &v) |
template<class Coordinates > | |
std::ostream & | Dune::operator<< (std::ostream &s, YGridComponent< Coordinates > e) |
Output operator for ygrids. | |
template<class Coordinates > | |
std::ostream & | Dune::operator<< (std::ostream &s, typename YGridComponent< Coordinates >::Iterator &e) |
Output operator for ygrids. | |
template<class Coordinates > | |
std::ostream & | Dune::operator<< (std::ostream &s, const YGrid< Coordinates > &e) |
Output operator for ygrids. | |
Detailed Description
This provides a YGrid, the elemental component of the yaspgrid implementation.
Function Documentation
◆ sizeArray()
template<int d, typename ct >
std::array< int, d > Dune::Yasp::sizeArray | ( | const std::array< std::vector< ct >, d > & | v | ) |
- Returns
- an array containing the sizes of the grids associated with vectors in given array. Needed in this form due to the need of such functionality in class initializer lists.
- Parameters
-
v the array of vectors to examine
References Dune::size(), and Dune::Yasp::sizeArray().
Referenced by Dune::Yasp::sizeArray().
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)