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

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

Classes

struct  Codim
 Codim Structure. More...
 

Public Types

typedef AlbertaLeafGridViewTraits< 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

 AlbertaLeafGridView (const Grid &grid)
 
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::AlbertaLeafGridView< GridImp >::CollectiveCommunication
Deprecated:
Use Communication instead! Will be removed after Dune 2.9.

◆ Communication

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

type of the communication

◆ Grid

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

type of the grid

◆ IndexSet

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

type of the index set

◆ Intersection

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

type of the intersection

◆ IntersectionIterator

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

type of the intersection iterator

◆ Traits

template<class GridImp >
typedef AlbertaLeafGridViewTraits<GridImp> Dune::AlbertaLeafGridView< GridImp >::Traits

Constructor & Destructor Documentation

◆ AlbertaLeafGridView()

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

Member Function Documentation

◆ begin() [1/2]

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

obtain begin iterator for this view

◆ comm()

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

obtain communication object

◆ communicate()

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

obtain end iterator for this view

◆ ghostSize()

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

obtain a const reference to the underlying hierarchic grid

◆ ibegin()

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

obtain the index set

◆ isConforming()

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

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

◆ overlapSize()

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

obtain number of entities with a given geometry type

◆ size() [2/2]

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

obtain number of entities in a given codimension

Member Data Documentation

◆ conforming

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

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