dune-grid 2.10
Loading...
Searching...
No Matches
Dune::DefaultLevelGridView< GridImp > Class Template Reference

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

Classes

struct  Codim
 Codim Structure. More...

Public Types

typedef DefaultLevelGridViewTraits< GridImp > 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 Grid::Traits::Communication Communication
 type of the communication

Public Member Functions

 DefaultLevelGridView (const Grid &grid, int level)
const Gridgrid () const
 obtain a const reference to the underlying hierarchic grid
const IndexSetindexSet () const
 obtain the index set
bool isConforming () const
 return true if current state of grid view represents a conforming grid
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 Communicationcomm () const
 obtain 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

Static Public Attributes

static constexpr bool conforming = Traits :: conforming

Member Typedef Documentation

◆ Communication

template<class GridImp>
typedef Grid::Traits::Communication Dune::DefaultLevelGridView< GridImp >::Communication

type of the communication

◆ Grid

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

type of the grid

◆ IndexSet

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

type of the index set

◆ Intersection

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

type of the intersection

◆ IntersectionIterator

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

type of the intersection iterator

◆ Traits

template<class GridImp>
typedef DefaultLevelGridViewTraits<GridImp> Dune::DefaultLevelGridView< GridImp >::Traits

Constructor & Destructor Documentation

◆ DefaultLevelGridView()

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

Member Function Documentation

◆ begin() [1/2]

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

obtain begin iterator for this view

◆ begin() [2/2]

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

obtain begin iterator for this view

◆ comm()

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

obtain communication object

◆ communicate()

template<class GridImp>
template<class DataHandleImp, class DataType>
void Dune::DefaultLevelGridView< 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, PartitionIteratorType pit>
Codim< cd >::template Partition< pit >::Iterator Dune::DefaultLevelGridView< GridImp >::end ( ) const
inline

obtain end iterator for this view

◆ end() [2/2]

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

obtain end iterator for this view

◆ ghostSize()

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

obtain a const reference to the underlying hierarchic grid

◆ ibegin()

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

obtain the index set

◆ isConforming()

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

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

◆ overlapSize()

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

obtain number of entities with a given geometry type

◆ size() [2/2]

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

obtain number of entities in a given codimension

Member Data Documentation

◆ conforming

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

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