Dune::Copasi 2.1.0-git79717215+dune.gitlab.629933
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages Concepts
Dune::Copasi::Concept::SubDomainGrid Concept Reference

Concept for dune subdomain grids of multidomain grids. More...

#include <grid.hh>

Concept definition

template<class G>
Dune::Concept::Grid<G> && std::same_as<G, typename G::MultiDomainGrid::SubDomainGrid> &&
requires(const G cg, typename G::SubDomainIndex sub_domain) {
{
cg.multiDomainGrid()
} -> std::convertible_to<const typename G::MultiDomainGrid&>;
{
cg.domain()
} -> std::convertible_to<typename G::SubDomainIndex>;
}
Concept for dune subdomain grids of multidomain grids.
Definition: grid.hh:31

Detailed Description

Concept for dune subdomain grids of multidomain grids.

Checks whether the type fits the most of the dune interface for grid and is extended to a subdomain grid. Some checks are missing, but they are not important for the concept.