dune-grid  2.4
Classes | Public Types | Public Member Functions | List of all members
Dune::DefaultLevelGridView< GridImp, pitype > Class Template Reference

#include <dune/grid/common/defaultgridview.hh>

Classes

struct  Codim
 Codim Structure. More...
 

Public Types

enum  { conforming = Traits :: conforming }
 
typedef DefaultLevelGridViewTraits< GridImp, pitype > Traits
 
typedef Traits::Grid Grid
 type of the grid More...
 
typedef Traits::IndexSet IndexSet
 type of the index set More...
 
typedef Traits::Intersection Intersection
 type of the intersection More...
 
typedef Traits::IntersectionIterator IntersectionIterator
 type of the intersection iterator More...
 
typedef Traits::CollectiveCommunication CollectiveCommunication
 type of the collective communication More...
 

Public Member Functions

 DefaultLevelGridView (const Grid &grid, int level)
 
const Gridgrid () const
 obtain a const reference to the underlying hierarchic grid More...
 
const IndexSetindexSet () const
 obtain the index set More...
 
int size (int codim) const
 obtain number of entities in a given codimension More...
 
int size (const GeometryType &type) const
 obtain number of entities with a given geometry type More...
 
template<int cd>
Codim< cd >::Iterator begin () const
 obtain begin iterator for this view More...
 
template<int cd, PartitionIteratorType pit>
Codim< cd >::template Partition< pit >::Iterator begin () const
 obtain begin iterator for this view More...
 
template<int cd>
Codim< cd >::Iterator end () const
 obtain end iterator for this view More...
 
template<int cd, PartitionIteratorType pit>
Codim< cd >::template Partition< pit >::Iterator end () const
 obtain end iterator for this view More...
 
IntersectionIterator ibegin (const typename Codim< 0 >::Entity &entity) const
 obtain begin intersection iterator with respect to this view More...
 
IntersectionIterator iend (const typename Codim< 0 >::Entity &entity) const
 obtain end intersection iterator with respect to this view More...
 
const CollectiveCommunicationcomm () const
 obtain collective communication object More...
 
int overlapSize (int codim) const
 Return size of the overlap region for a given codim on the grid view. More...
 
int ghostSize (int codim) const
 Return size of the ghost region for a given codim on the grid view. More...
 
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::DefaultLevelGridView< GridImp, pitype >::CollectiveCommunication

type of the collective communication

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

type of the grid

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

type of the index set

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

type of the intersection

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

type of the intersection iterator

template<class GridImp , PartitionIteratorType pitype>
typedef DefaultLevelGridViewTraits<GridImp,pitype> Dune::DefaultLevelGridView< GridImp, pitype >::Traits

Member Enumeration Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

obtain begin iterator for this view

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

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

obtain begin iterator for this view

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

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

obtain collective communication object

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

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

communicate data on this view

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

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

obtain end iterator for this view

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

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

obtain end iterator for this view

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

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

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

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

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

obtain begin intersection iterator with respect to this view

template<class GridImp , PartitionIteratorType pitype>
IntersectionIterator Dune::DefaultLevelGridView< GridImp, pitype >::iend ( const typename Codim< 0 >::Entity entity) const
inline

obtain end intersection iterator with respect to this view

template<class GridImp , PartitionIteratorType pitype>
const IndexSet& Dune::DefaultLevelGridView< GridImp, pitype >::indexSet ( ) const
inline
template<class GridImp , PartitionIteratorType pitype>
int Dune::DefaultLevelGridView< GridImp, pitype >::overlapSize ( int  codim) const
inline

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

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

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

obtain number of entities in a given codimension

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

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

obtain number of entities with a given geometry type

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


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