dune-grid 2.9.0
Classes | Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::AlbertaLevelGridView< GridImp > Class Template Reference

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

Classes

struct  Codim
 Codim Structure. More...
 

Public Types

typedef AlbertaLevelGridViewTraits< 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::Communication Communication
 type of the communication More...
 
typedef Communication CollectiveCommunication
 

Public Member Functions

 AlbertaLevelGridView (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...
 
bool isConforming () const
 return true if current state of grid view represents a conforming grid 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 Communicationcomm () const
 obtain 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
 

Static Public Attributes

static constexpr bool conforming = Traits::conforming
 

Member Typedef Documentation

◆ CollectiveCommunication

template<class GridImp >
typedef Communication Dune::AlbertaLevelGridView< GridImp >::CollectiveCommunication
Deprecated:
Use Communication instead! Will be removed after Dune 2.9.

◆ Communication

template<class GridImp >
typedef Traits::Communication Dune::AlbertaLevelGridView< GridImp >::Communication

type of the communication

◆ Grid

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

type of the grid

◆ IndexSet

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

type of the index set

◆ Intersection

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

type of the intersection

◆ IntersectionIterator

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

type of the intersection iterator

◆ Traits

template<class GridImp >
typedef AlbertaLevelGridViewTraits<GridImp> Dune::AlbertaLevelGridView< GridImp >::Traits

Constructor & Destructor Documentation

◆ AlbertaLevelGridView()

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

Member Function Documentation

◆ begin() [1/2]

template<class GridImp >
template<int cd>
Codim< cd >::Iterator Dune::AlbertaLevelGridView< 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::AlbertaLevelGridView< GridImp >::begin ( ) const
inline

obtain begin iterator for this view

◆ comm()

template<class GridImp >
const Communication & Dune::AlbertaLevelGridView< GridImp >::comm ( ) const
inline

obtain communication object

◆ communicate()

template<class GridImp >
template<class DataHandleImp , class DataType >
void Dune::AlbertaLevelGridView< 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::AlbertaLevelGridView< 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::AlbertaLevelGridView< GridImp >::end ( ) const
inline

obtain end iterator for this view

◆ ghostSize()

template<class GridImp >
int Dune::AlbertaLevelGridView< 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::AlbertaLevelGridView< GridImp >::grid ( ) const
inline

obtain a const reference to the underlying hierarchic grid

◆ ibegin()

template<class GridImp >
IntersectionIterator Dune::AlbertaLevelGridView< 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::AlbertaLevelGridView< 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::AlbertaLevelGridView< GridImp >::indexSet ( ) const
inline

obtain the index set

◆ isConforming()

template<class GridImp >
bool Dune::AlbertaLevelGridView< GridImp >::isConforming ( ) const
inline

return true if current state of grid view represents a conforming grid

◆ overlapSize()

template<class GridImp >
int Dune::AlbertaLevelGridView< 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::AlbertaLevelGridView< GridImp >::size ( const GeometryType &  type) const
inline

obtain number of entities with a given geometry type

◆ size() [2/2]

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

obtain number of entities in a given codimension

Member Data Documentation

◆ conforming

template<class GridImp >
constexpr bool Dune::AlbertaLevelGridView< GridImp >::conforming = Traits::conforming
staticconstexpr

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