dune-alugrid 2.8.0
|
#include <dune/alugrid/common/macrogridview.hh>
Classes | |
struct | Codim |
Codim Structure. More... | |
Public Types | |
enum | { conforming = Traits :: conforming } |
enum | { dimension = Grid :: dimension } |
enum | { dimensionworld = Grid :: dimensionworld } |
typedef MacroGridViewTraits< GridImp, pitype > | 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 Traits::CollectiveCommunication | CollectiveCommunication |
type of the collective communication | |
typedef Grid::ctype | ctype |
type used for coordinates in grid | |
Public Member Functions | |
MacroGridView (const Grid &grid) | |
const Grid & | grid () const |
obtain a const reference to the underlying hierarchic grid | |
const IndexSet & | indexSet () const |
obtain the index set | |
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 CollectiveCommunication & | comm () const |
obtain collective 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 |
int | master (const typename Codim< 0 > ::Entity &entity) const |
return master rank for entities with partitionType != InteriorEntity | |
int | macroId (const typename Codim< 0 > ::Entity &entity) const |
return unique id of macro entity for usage with graph partitioning software | |
int | weight (const typename Codim< 0 > ::Entity &entity) const |
return weight associated with the given macro entity | |
int | weight (const Intersection &intersection) const |
return weight associated with the macro intersection, i.e. the graph edge between the two neighboring entities | |
Protected Attributes | |
const Grid * | grid_ |
const int | level_ |
typedef Traits::CollectiveCommunication Dune::MacroGridView< GridImp, pitype >::CollectiveCommunication |
type of the collective communication
typedef Grid::ctype Dune::MacroGridView< GridImp, pitype >::ctype |
type used for coordinates in grid
typedef Traits::Grid Dune::MacroGridView< GridImp, pitype >::Grid |
type of the grid
typedef Traits::IndexSet Dune::MacroGridView< GridImp, pitype >::IndexSet |
type of the index set
typedef Traits::Intersection Dune::MacroGridView< GridImp, pitype >::Intersection |
type of the intersection
typedef Traits::IntersectionIterator Dune::MacroGridView< GridImp, pitype >::IntersectionIterator |
type of the intersection iterator
typedef MacroGridViewTraits< GridImp, pitype > Dune::MacroGridView< GridImp, pitype >::Traits |
anonymous enum |
anonymous enum |
anonymous enum |
|
inline |
|
inline |
obtain begin iterator for this view
|
inline |
obtain begin iterator for this view
|
inline |
obtain collective communication object
|
inline |
communicate data on this view
|
inline |
obtain end iterator for this view
|
inline |
obtain end iterator for this view
|
inline |
Return size of the ghost region for a given codim on the grid view.
|
inline |
obtain a const reference to the underlying hierarchic grid
|
inline |
obtain begin intersection iterator with respect to this view
|
inline |
obtain end intersection iterator with respect to this view
|
inline |
obtain the index set
|
inline |
return unique id of macro entity for usage with graph partitioning software
|
inline |
return master rank for entities with partitionType != InteriorEntity
|
inline |
Return size of the overlap region for a given codim on the grid view.
|
inline |
obtain number of entities with a given geometry type
|
inline |
obtain number of entities in a given codimension
|
inline |
return weight associated with the macro intersection, i.e. the graph edge between the two neighboring entities
|
inline |
return weight associated with the given macro entity
|
protected |
|
protected |