dune-grid  2.5.1
Classes | Public Types | Public Member Functions | List of all members
Dune::DefaultLeafGridView< GridImp > Class Template Reference

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

Classes

struct  Codim
 Codim Structure. More...
 

Public Types

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

 DefaultLeafGridView (const Grid &grid)
 
const Grid & grid () const
 obtain a const reference to the underlying hierarchic grid More...
 
const IndexSet & indexSet () 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 CollectiveCommunication & comm () 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

◆ CollectiveCommunication

template<class GridImp >
typedef Traits :: CollectiveCommunication Dune::DefaultLeafGridView< GridImp >::CollectiveCommunication

type of the collective communication

◆ Grid

template<class GridImp >
typedef Traits::Grid Dune::DefaultLeafGridView< GridImp >::Grid

type of the grid

◆ IndexSet

template<class GridImp >
typedef Traits :: IndexSet Dune::DefaultLeafGridView< GridImp >::IndexSet

type of the index set

◆ Intersection

template<class GridImp >
typedef Traits :: Intersection Dune::DefaultLeafGridView< GridImp >::Intersection

type of the intersection

◆ IntersectionIterator

template<class GridImp >
typedef Traits :: IntersectionIterator Dune::DefaultLeafGridView< GridImp >::IntersectionIterator

type of the intersection iterator

◆ Traits

template<class GridImp >
typedef DefaultLeafGridViewTraits<GridImp> Dune::DefaultLeafGridView< GridImp >::Traits

Member Enumeration Documentation

◆ anonymous enum

template<class GridImp >
anonymous enum
Enumerator
conforming 

Constructor & Destructor Documentation

◆ DefaultLeafGridView()

template<class GridImp >
Dune::DefaultLeafGridView< GridImp >::DefaultLeafGridView ( const Grid &  grid)
inline

Member Function Documentation

◆ begin() [1/2]

template<class GridImp >
template<int cd>
Codim< cd >:: Iterator Dune::DefaultLeafGridView< GridImp >::begin ( ) const
inline

obtain begin iterator for this view

◆ begin() [2/2]

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

obtain begin iterator for this view

◆ comm()

template<class GridImp >
const CollectiveCommunication& Dune::DefaultLeafGridView< GridImp >::comm ( ) const
inline

obtain collective communication object

◆ communicate()

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

communicate data on this view

◆ end() [1/2]

template<class GridImp >
template<int cd>
Codim< cd >:: Iterator Dune::DefaultLeafGridView< GridImp >::end ( ) const
inline

obtain end iterator for this view

◆ end() [2/2]

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

obtain end iterator for this view

◆ ghostSize()

template<class GridImp >
int Dune::DefaultLeafGridView< GridImp >::ghostSize ( int  codim) const
inline

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

◆ grid()

template<class GridImp >
const Grid& Dune::DefaultLeafGridView< GridImp >::grid ( ) const
inline

obtain a const reference to the underlying hierarchic grid

◆ ibegin()

template<class GridImp >
IntersectionIterator Dune::DefaultLeafGridView< GridImp >::ibegin ( const typename Codim< 0 > ::Entity &  entity) const
inline

obtain begin intersection iterator with respect to this view

◆ iend()

template<class GridImp >
IntersectionIterator Dune::DefaultLeafGridView< GridImp >::iend ( const typename Codim< 0 > ::Entity &  entity) const
inline

obtain end intersection iterator with respect to this view

◆ indexSet()

template<class GridImp >
const IndexSet& Dune::DefaultLeafGridView< GridImp >::indexSet ( ) const
inline

obtain the index set

◆ overlapSize()

template<class GridImp >
int Dune::DefaultLeafGridView< GridImp >::overlapSize ( int  codim) const
inline

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

◆ size() [1/2]

template<class GridImp >
int Dune::DefaultLeafGridView< GridImp >::size ( int  codim) const
inline

obtain number of entities in a given codimension

◆ size() [2/2]

template<class GridImp >
int Dune::DefaultLeafGridView< GridImp >::size ( const GeometryType &  type) const
inline

obtain number of entities with a given geometry type


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