|
dune-grid 2.12-git
|
Loading...
Searching...
No Matches
common/gridview.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
372 typeid( Implementation ).name() << "' still returns void. Please update implementation to new interface returning a future object!" << std::endl;
Describes the parallel communication interface class for MessageBuffers and DataHandles.
CommunicationDirection
Define a type for communication direction parameter.
Definition gridenums.hh:170
InterfaceType
Parameter to be used for the communication functions.
Definition gridenums.hh:86
const IndexSet & indexSet() const
obtain the index set
Definition common/gridview.hh:177
ThisType & operator=(const ThisType &other)
assignment operator
Definition common/gridview.hh:158
Codim< cd >::Iterator begin() const
obtain begin iterator for this view
Definition common/gridview.hh:230
const Grid & grid() const
obtain a const reference to the underlying hierarchic grid
Definition common/gridview.hh:166
Codim< cd >::Iterator end() const
obtain end iterator for this view
Definition common/gridview.hh:237
Implementation & impl()
access to the underlying implementation
Definition common/gridview.hh:348
Traits::template Codim< cd >::Iterator Iterator
type of iterator returned by the grid view
Definition common/gridview.hh:106
static constexpr bool conforming
Export if this grid view is guaranteed conforming.
Definition common/gridview.hh:128
Traits::template Codim< cd >::template Partition< pit >::Iterator Iterator
iterator over a given codim and partition type
Definition common/gridview.hh:123
Traits::IntersectionIterator IntersectionIterator
type of the intersection iterator
Definition common/gridview.hh:92
const Implementation & impl() const
access to the underlying implementation
Definition common/gridview.hh:355
IntersectionIterator ibegin(const typename Codim< 0 > ::Entity &entity) const
obtain begin intersection iterator with respect to this view
Definition common/gridview.hh:260
Traits::IndexSet IndexSet
type of the index set
Definition common/gridview.hh:86
int overlapSize(int codim) const
Return size of the overlap region for a given codim on the grid view.
Definition common/gridview.hh:279
int size(const GeometryType &type) const
obtain number of entities with a given geometry type
Definition common/gridview.hh:189
void printMessage() const
Definition common/gridview.hh:369
int size(int codim) const
obtain number of entities in a given codimension
Definition common/gridview.hh:183
auto communicate(CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const
Communicate data on this view.
Definition common/gridview.hh:334
auto communicate(CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir, std::integral_constant< bool, false >) const
Definition common/gridview.hh:360
bool valid() const
Definition common/gridview.hh:380
typename Traits ::Communication Communication
A type that is a model of Dune::Communication. It provides a portable way for communication on the se...
Definition common/gridview.hh:98
const Communication & comm() const
obtain communication object
Definition common/gridview.hh:273
static constexpr int dimension
The dimension of the grid.
Definition common/gridview.hh:134
ViewTraits::GridViewImp Implementation
type of underlying implementation
Definition common/gridview.hh:75
GridView(const Implementation &imp)
constructor (engine concept)
Definition common/gridview.hh:147
Codim< cd >::template Partition< pitype >::Iterator begin() const
obtain begin iterator for this view
Definition common/gridview.hh:245
Traits::Intersection Intersection
type of the intersection
Definition common/gridview.hh:89
IntersectionIterator iend(const typename Codim< 0 > ::Entity &entity) const
obtain end intersection iterator with respect to this view
Definition common/gridview.hh:267
Traits::template Codim< cd >::Entity Entity
type of corresponding entity
Definition common/gridview.hh:109
Traits::template Codim< cd >::LocalGeometry LocalGeometry
type of the implementation for local geometries
Definition common/gridview.hh:115
Grid::ctype ctype
type used for coordinates in grid
Definition common/gridview.hh:131
auto communicate(CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir, std::integral_constant< bool, true >) const
Definition common/gridview.hh:385
static constexpr int dimensionworld
The dimension of the world the grid lives in.
Definition common/gridview.hh:137
Codim< cd >::template Partition< pitype >::Iterator end() const
obtain end iterator for this view
Definition common/gridview.hh:253
bool contains(const EntityType &e) const
Return true if the given entity is contained in this grid view.
Definition common/gridview.hh:223
bool isConforming() const
return true if current state of grid view represents a conforming grid
Definition common/gridview.hh:202
GridView(const ThisType &other)
Copy constructor.
Definition common/gridview.hh:153
Traits::template Codim< cd >::Geometry Geometry
type of the geometry implementation
Definition common/gridview.hh:112
int ghostSize(int codim) const
Return size of the ghost region for a given codim on the grid view.
Definition common/gridview.hh:285
Include standard header files.
CommDataHandleIF describes the features of a data handle for communication in parallel runs using the...
Definition datahandleif.hh:78
Mesh entities of codimension 0 ("elements") allow to visit all intersections with "neighboring" eleme...
Definition common/intersectioniterator.hh:83
ct ctype
Define type used for coordinates in grid module.
Definition common/grid.hh:536
A struct that collects all associated types of one implementation from the Traits class.
Definition common/gridview.hh:104
Define types needed to iterate over entities of a given partition type.
Definition common/gridview.hh:120
Definition common/gridview.hh:368
T endl(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8