dune-grid
2.1.1
|
#include <dune/grid/albertagrid/gridview.hh>
Classes | |
struct | Codim |
Codim Structure. More... | |
Public Types | |
enum | { conforming = Traits::conforming } |
typedef AlbertaLeafGridViewTraits < GridImp, pitype > | Traits |
typedef Traits::Grid | Grid |
type of the grid | |
typedef Traits::IndexSet | IndexSet |
type of the index set | |
typedef Traits::Intersection | Intersection |
type of the intersection | |
typedef Traits::IntersectionIterator | IntersectionIterator |
type of the intersection iterator | |
typedef Traits::CollectiveCommunication | CollectiveCommunication |
type of the collective communication | |
Public Member Functions | |
AlbertaLeafGridView (const Grid &grid) | |
const Grid & | grid () const |
obtain a const reference to the underlying hierarchic grid | |
const IndexSet & | indexSet () const |
obtain the index set | |
int | size (int codim) const |
obtain numer of entities in a given codimension | |
int | size (const GeometryType &type) const |
obtain number of entities with a given geometry type | |
template<int cd> | |
Codim< cd >::Iterator | begin () const |
obtain begin iterator for this view | |
template<int cd, PartitionIteratorType pit> | |
Codim< cd >::template Partition< pit >::Iterator | begin () const |
obtain begin iterator for this view | |
template<int cd> | |
Codim< cd >::Iterator | end () const |
obtain end iterator for this view | |
template<int cd, PartitionIteratorType pit> | |
Codim< cd >::template Partition< pit >::Iterator | end () const |
obtain end iterator for this view | |
IntersectionIterator | ibegin (const typename Codim< 0 >::Entity &entity) const |
obtain begin intersection iterator with respect to this view | |
IntersectionIterator | iend (const typename Codim< 0 >::Entity &entity) const |
obtain end intersection iterator with respect to this view | |
const CollectiveCommunication & | comm () const |
obtain collective communication object | |
int | overlapSize (int codim) const |
Return size of the overlap region for a given codim on the grid view. | |
int | ghostSize (int codim) const |
Return size of the ghost region for a given codim on the grid view. | |
template<class DataHandleImp , class DataType > | |
void | communicate (CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const |
typedef Traits::CollectiveCommunication Dune::AlbertaLeafGridView< GridImp, pitype >::CollectiveCommunication |
type of the collective communication
typedef Traits::Grid Dune::AlbertaLeafGridView< GridImp, pitype >::Grid |
type of the grid
typedef Traits::IndexSet Dune::AlbertaLeafGridView< GridImp, pitype >::IndexSet |
type of the index set
typedef Traits::Intersection Dune::AlbertaLeafGridView< GridImp, pitype >::Intersection |
type of the intersection
typedef Traits::IntersectionIterator Dune::AlbertaLeafGridView< GridImp, pitype >::IntersectionIterator |
type of the intersection iterator
typedef AlbertaLeafGridViewTraits<GridImp,pitype> Dune::AlbertaLeafGridView< GridImp, pitype >::Traits |
Dune::AlbertaLeafGridView< GridImp, pitype >::AlbertaLeafGridView | ( | const Grid & | grid | ) | [inline] |
Codim< cd >::Iterator Dune::AlbertaLeafGridView< GridImp, pitype >::begin | ( | ) | const [inline] |
obtain begin iterator for this view
References Dune::AlbertaLeafGridView< GridImp, pitype >::grid().
Referenced by Dune::AlbertaLeafGridView< GridImp, pitype >::ibegin().
Codim< cd >::template Partition< pit >::Iterator Dune::AlbertaLeafGridView< GridImp, pitype >::begin | ( | ) | const [inline] |
obtain begin iterator for this view
References Dune::AlbertaLeafGridView< GridImp, pitype >::grid().
const CollectiveCommunication& Dune::AlbertaLeafGridView< GridImp, pitype >::comm | ( | ) | const [inline] |
obtain collective communication object
References Dune::AlbertaLeafGridView< GridImp, pitype >::grid().
void Dune::AlbertaLeafGridView< GridImp, pitype >::communicate | ( | CommDataHandleIF< DataHandleImp, DataType > & | data, |
InterfaceType | iftype, | ||
CommunicationDirection | dir | ||
) | const [inline] |
communicate data on this view
Codim< cd >::Iterator Dune::AlbertaLeafGridView< GridImp, pitype >::end | ( | ) | const [inline] |
obtain end iterator for this view
References Dune::AlbertaLeafGridView< GridImp, pitype >::grid().
Referenced by Dune::AlbertaLeafGridView< GridImp, pitype >::iend().
Codim< cd >::template Partition< pit >::Iterator Dune::AlbertaLeafGridView< GridImp, pitype >::end | ( | ) | const [inline] |
obtain end iterator for this view
References Dune::AlbertaLeafGridView< GridImp, pitype >::grid().
int Dune::AlbertaLeafGridView< GridImp, pitype >::ghostSize | ( | int | codim | ) | const [inline] |
Return size of the ghost region for a given codim on the grid view.
References Dune::AlbertaLeafGridView< GridImp, pitype >::grid().
const Grid& Dune::AlbertaLeafGridView< GridImp, pitype >::grid | ( | ) | const [inline] |
obtain a const reference to the underlying hierarchic grid
Referenced by Dune::AlbertaLeafGridView< GridImp, pitype >::begin(), Dune::AlbertaLeafGridView< GridImp, pitype >::comm(), Dune::AlbertaLeafGridView< GridImp, pitype >::end(), Dune::AlbertaLeafGridView< GridImp, pitype >::ghostSize(), Dune::AlbertaLeafGridView< GridImp, pitype >::overlapSize(), and Dune::AlbertaLeafGridView< GridImp, pitype >::size().
IntersectionIterator Dune::AlbertaLeafGridView< GridImp, pitype >::ibegin | ( | const typename Codim< 0 >::Entity & | entity | ) | const [inline] |
obtain begin intersection iterator with respect to this view
References Dune::AlbertaLeafGridView< GridImp, pitype >::begin(), Dune::Grid< dim, dimworld, ct, GridFamily >::dimension, and Dune::Alberta::ElementInfo< dim >::elInfo().
IntersectionIterator Dune::AlbertaLeafGridView< GridImp, pitype >::iend | ( | const typename Codim< 0 >::Entity & | entity | ) | const [inline] |
obtain end intersection iterator with respect to this view
References Dune::AlbertaLeafGridView< GridImp, pitype >::end().
const IndexSet& Dune::AlbertaLeafGridView< GridImp, pitype >::indexSet | ( | ) | const [inline] |
obtain the index set
int Dune::AlbertaLeafGridView< GridImp, pitype >::overlapSize | ( | int | codim | ) | const [inline] |
Return size of the overlap region for a given codim on the grid view.
References Dune::AlbertaLeafGridView< GridImp, pitype >::grid().
int Dune::AlbertaLeafGridView< GridImp, pitype >::size | ( | int | codim | ) | const [inline] |
obtain numer of entities in a given codimension
References Dune::AlbertaLeafGridView< GridImp, pitype >::grid().
int Dune::AlbertaLeafGridView< GridImp, pitype >::size | ( | const GeometryType & | type | ) | const [inline] |
obtain number of entities with a given geometry type
References Dune::AlbertaLeafGridView< GridImp, pitype >::grid().