Dune Core Modules (2.9.0)

Dune::YGrid< Coordinates > Class Template Reference

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>

Classes

class  Iterator
 Iterator over a collection o YGrids A YGrid::Iterator is the heart of an entity in YaspGrid. More...
 

Public Member Functions

void setBegin (DAI begin)
 set start iterator in the data array
 
int shiftmapping (const std::bitset< dim > &shift) const
 get which component belongs to a given shift vector
 
DAI dataBegin () const
 get start iterator in the data array
 
DAI dataEnd () const
 get end iterator in the data array
 
bool inside (const iTupel &coord, const std::bitset< dim > &shift=std::bitset< dim >()) const
 decide whether a coordinate is in the grid (depending on the component)
 
Iterator begin () const
 return begin iterator for the codimension and partition the ygrid represents
 
Iterator begin (const std::array< int, dim > &coord, int which=0) const
 return iterator pointint to a specified position
 
Iterator end () const
 return end iterator for the codimension and partition the ygrid represents
 

Detailed Description

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).


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.80.0 (Mar 28, 23:30, 2024)