Dune Core Modules (2.9.1)
gridview.hh
1// SPDX-FileCopyrightText: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
112 using CollectiveCommunication [[deprecated("CollectiveCommunication is deprecated, use Communication instead!")]] = Communication;
337 typeid( Implementation ).name() << "' still returns void. Please update implementation to new interface returning a future object!" << std::endl;
CommDataHandleIF describes the features of a data handle for communication in parallel runs using the...
Definition: datahandleif.hh:78
Type-erasure for future-like objects. A future-like object is a object satisfying the interface of Fu...
Definition: future.hh:28
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:126
static constexpr int dimension
The dimension of the grid.
Definition: grid.hh:387
static constexpr int dimensionworld
The dimension of the world the grid lives in.
Definition: grid.hh:390
Mesh entities of codimension 0 ("elements") allow to visit all intersections with "neighboring" eleme...
Definition: intersectioniterator.hh:83
Describes the parallel communication interface class for MessageBuffers and DataHandles.
const IndexSet & indexSet() const
obtain the index set
Definition: gridview.hh:191
ThisType & operator=(const ThisType &other)
assignment operator
Definition: gridview.hh:172
Codim< cd >::Iterator begin() const
obtain begin iterator for this view
Definition: gridview.hh:237
const Grid & grid() const
obtain a const reference to the underlying hierarchic grid
Definition: gridview.hh:180
Codim< cd >::Iterator end() const
obtain end iterator for this view
Definition: gridview.hh:244
Communication CollectiveCommunication
Definition: gridview.hh:112
Implementation & impl()
access to the underlying implementation
Definition: gridview.hh:313
Traits::template Codim< cd >::Iterator Iterator
type of iterator returned by the grid view
Definition: gridview.hh:120
static constexpr bool conforming
Export if this grid view is guaranteed conforming.
Definition: gridview.hh:142
Traits::template Codim< cd >::template Partition< pit >::Iterator Iterator
iterator over a given codim and partition type
Definition: gridview.hh:137
Traits::IntersectionIterator IntersectionIterator
type of the intersection iterator
Definition: gridview.hh:92
const Implementation & impl() const
access to the underlying implementation
Definition: gridview.hh:320
IntersectionIterator ibegin(const typename Codim< 0 > ::Entity &entity) const
obtain begin intersection iterator with respect to this view
Definition: gridview.hh:267
int overlapSize(int codim) const
Return size of the overlap region for a given codim on the grid view.
Definition: gridview.hh:286
int size(const GeometryType &type) const
obtain number of entities with a given geometry type
Definition: gridview.hh:203
int size(int codim) const
obtain number of entities in a given codimension
Definition: gridview.hh:197
auto communicate(CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const
Communicate data on this view.
Definition: gridview.hh:299
auto communicate(CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir, std::integral_constant< bool, false >) const
Communicate data on this view.
Definition: gridview.hh:325
const Communication & comm() const
obtain communication object
Definition: gridview.hh:280
static constexpr int dimension
The dimension of the grid.
Definition: gridview.hh:148
ViewTraits::GridViewImp Implementation
type of underlying implementation
Definition: gridview.hh:75
GridView(const Implementation &imp)
constructor (engine concept)
Definition: gridview.hh:161
Codim< cd >::template Partition< pitype >::Iterator begin() const
obtain begin iterator for this view
Definition: gridview.hh:252
Traits::Intersection Intersection
type of the intersection
Definition: gridview.hh:89
IntersectionIterator iend(const typename Codim< 0 > ::Entity &entity) const
obtain end intersection iterator with respect to this view
Definition: gridview.hh:274
Traits::template Codim< cd >::Entity Entity
type of corresponding entity
Definition: gridview.hh:123
Traits::template Codim< cd >::LocalGeometry LocalGeometry
type of the implementation for local geometries
Definition: gridview.hh:129
auto communicate(CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir, std::integral_constant< bool, true >) const
Communicate data on this view.
Definition: gridview.hh:350
static constexpr int dimensionworld
The dimension of the world the grid lives in.
Definition: gridview.hh:151
Codim< cd >::template Partition< pitype >::Iterator end() const
obtain end iterator for this view
Definition: gridview.hh:260
bool contains(const EntityType &e) const
Return true if the given entity is contained in this grid view.
Definition: gridview.hh:230
detected_or_fallback_t< DeprecatedCollectiveCommunication_t, Communication_t, Traits > Communication
A type that is a model of Dune::Communication. It provides a portable way for communication on the se...
Definition: gridview.hh:108
bool isConforming() const
return true if current state of grid view represents a conforming grid
Definition: gridview.hh:209
Traits::template Codim< cd >::Geometry Geometry
type of the geometry implementation
Definition: gridview.hh:126
int ghostSize(int codim) const
Return size of the ghost region for a given codim on the grid view.
Definition: gridview.hh:292
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
Std::detected_or_t< decltype(detail::warningIfNotDefined< Std::detected_t< Fallback, Args... > >(std::declval< const Std::detected_t< TargetType, Args... > * >())), TargetType, Args... > detected_or_fallback_t
This type will be either TargetType<Args...> if it exists, or the Fallback<Args......
Definition: type_traits.hh:300
Communication< T > CollectiveCommunication
Definition: communication.hh:541
Define types needed to iterate over entities of a given partition type.
Definition: gridview.hh:134
A struct that collects all associated types of one implementation from the Traits class.
Definition: gridview.hh:118
A unique label for each type of element that can occur in a grid.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)