dune-grid  2.2.0
Classes | Public Types | Public Member Functions
Dune::AlbertaLevelGridView< GridImp, pitype > Class Template Reference

#include <dune/grid/albertagrid/gridview.hh>

List of all members.

Classes

struct  Codim
 Codim Structure. More...

Public Types

enum  { conforming = Traits::conforming }
typedef
AlbertaLevelGridViewTraits
< 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

 AlbertaLevelGridView (const Grid &grid, int level)
const Gridgrid () const
 obtain a const reference to the underlying hierarchic grid
const IndexSetindexSet () const
 obtain the index set
int size (int codim) const
 obtain number 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 CollectiveCommunicationcomm () 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

Member Typedef Documentation

template<class GridImp , PartitionIteratorType pitype>
typedef Traits::CollectiveCommunication Dune::AlbertaLevelGridView< GridImp, pitype >::CollectiveCommunication

type of the collective communication

template<class GridImp , PartitionIteratorType pitype>
typedef Traits::Grid Dune::AlbertaLevelGridView< GridImp, pitype >::Grid

type of the grid

template<class GridImp , PartitionIteratorType pitype>
typedef Traits::IndexSet Dune::AlbertaLevelGridView< GridImp, pitype >::IndexSet

type of the index set

template<class GridImp , PartitionIteratorType pitype>
typedef Traits::Intersection Dune::AlbertaLevelGridView< GridImp, pitype >::Intersection

type of the intersection

template<class GridImp , PartitionIteratorType pitype>
typedef Traits::IntersectionIterator Dune::AlbertaLevelGridView< GridImp, pitype >::IntersectionIterator

type of the intersection iterator

template<class GridImp , PartitionIteratorType pitype>
typedef AlbertaLevelGridViewTraits<GridImp,pitype> Dune::AlbertaLevelGridView< GridImp, pitype >::Traits

Member Enumeration Documentation

template<class GridImp , PartitionIteratorType pitype>
anonymous enum
Enumerator:
conforming 

Constructor & Destructor Documentation

template<class GridImp , PartitionIteratorType pitype>
Dune::AlbertaLevelGridView< GridImp, pitype >::AlbertaLevelGridView ( const Grid grid,
int  level 
)
inline

Member Function Documentation

template<class GridImp , PartitionIteratorType pitype>
template<int cd>
Codim< cd >::Iterator Dune::AlbertaLevelGridView< GridImp, pitype >::begin ( ) const
inline
template<class GridImp , PartitionIteratorType pitype>
template<int cd, PartitionIteratorType pit>
Codim< cd >::template Partition< pit >::Iterator Dune::AlbertaLevelGridView< GridImp, pitype >::begin ( ) const
inline

obtain begin iterator for this view

References Dune::AlbertaLevelGridView< GridImp, pitype >::grid().

template<class GridImp , PartitionIteratorType pitype>
const CollectiveCommunication& Dune::AlbertaLevelGridView< GridImp, pitype >::comm ( ) const
inline

obtain collective communication object

References Dune::AlbertaLevelGridView< GridImp, pitype >::grid().

template<class GridImp , PartitionIteratorType pitype>
template<class DataHandleImp , class DataType >
void Dune::AlbertaLevelGridView< GridImp, pitype >::communicate ( CommDataHandleIF< DataHandleImp, DataType > &  data,
InterfaceType  iftype,
CommunicationDirection  dir 
) const
inline

communicate data on this view

template<class GridImp , PartitionIteratorType pitype>
template<int cd>
Codim< cd >::Iterator Dune::AlbertaLevelGridView< GridImp, pitype >::end ( ) const
inline
template<class GridImp , PartitionIteratorType pitype>
template<int cd, PartitionIteratorType pit>
Codim< cd >::template Partition< pit >::Iterator Dune::AlbertaLevelGridView< GridImp, pitype >::end ( ) const
inline

obtain end iterator for this view

References Dune::AlbertaLevelGridView< GridImp, pitype >::grid().

template<class GridImp , PartitionIteratorType pitype>
int Dune::AlbertaLevelGridView< GridImp, pitype >::ghostSize ( int  codim) const
inline

Return size of the ghost region for a given codim on the grid view.

References Dune::AlbertaLevelGridView< GridImp, pitype >::grid().

template<class GridImp , PartitionIteratorType pitype>
const Grid& Dune::AlbertaLevelGridView< GridImp, pitype >::grid ( ) const
inline
template<class GridImp , PartitionIteratorType pitype>
IntersectionIterator Dune::AlbertaLevelGridView< GridImp, pitype >::ibegin ( const typename Codim< 0 >::Entity entity) const
inline
template<class GridImp , PartitionIteratorType pitype>
IntersectionIterator Dune::AlbertaLevelGridView< GridImp, pitype >::iend ( const typename Codim< 0 >::Entity entity) const
inline

obtain end intersection iterator with respect to this view

References Dune::AlbertaLevelGridView< GridImp, pitype >::end().

template<class GridImp , PartitionIteratorType pitype>
const IndexSet& Dune::AlbertaLevelGridView< GridImp, pitype >::indexSet ( ) const
inline

obtain the index set

template<class GridImp , PartitionIteratorType pitype>
int Dune::AlbertaLevelGridView< GridImp, pitype >::overlapSize ( int  codim) const
inline

Return size of the overlap region for a given codim on the grid view.

References Dune::AlbertaLevelGridView< GridImp, pitype >::grid().

template<class GridImp , PartitionIteratorType pitype>
int Dune::AlbertaLevelGridView< GridImp, pitype >::size ( int  codim) const
inline

obtain number of entities in a given codimension

References Dune::AlbertaLevelGridView< GridImp, pitype >::grid().

template<class GridImp , PartitionIteratorType pitype>
int Dune::AlbertaLevelGridView< GridImp, pitype >::size ( const GeometryType &  type) const
inline

obtain number of entities with a given geometry type

References Dune::AlbertaLevelGridView< GridImp, pitype >::grid().


The documentation for this class was generated from the following file: