DUNE PDELab (git)

Dune::Concept::GridView Concept Reference

Model of a grid view. More...

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

Concept definition

template<class GV>
concept Dune::Concept::GridView = std::copyable<GV> &&
requires(const GV gv, int codim, Dune::GeometryType type)
{
typename GV::Traits;
typename GV::ctype;
{ GV::conforming } -> std::convertible_to<bool>;
{ GV::dimension } -> std::convertible_to<int>;
{ GV::dimensionworld } -> std::convertible_to<int>;
{ gv.grid() } -> std::same_as<const typename GV::Grid&>;
{ gv.indexSet() } -> std::same_as<const typename GV::IndexSet&>;
{ gv.size(codim) } -> std::convertible_to<int>;
{ gv.size(type) } -> std::convertible_to<int>;
{ gv.comm() } -> std::convertible_to<typename GV::Communication>;
{ gv.overlapSize(codim) } -> std::convertible_to<int>;
{ gv.ghostSize(codim) } -> std::convertible_to<int>;
requires requires(Archetypes::CommDataHandle<std::byte>& handle,
{
gv.communicate(handle, iface, dir);
};
} &&
Impl::GridViewCodim<GV,0> &&
requires (index_constant<1> from, index_constant<GV::dimension+1> to) {
Impl::gridViewAllCodims<GV>(range(from, to).to_integer_sequence());
}
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
Model of a grid view.
Definition: gridview.hh:81
Model of an index set.
Definition: indexidset.hh:44
Model of an intersection iterator.
Definition: intersectioniterator.hh:21
Model of an intersection.
Definition: intersection.hh:23
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

Detailed Description

Model of a grid view.

Dune::GridView is a template for this model

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)