Concept for dune subdomain grids of multidomain grids.
More...
#include <grid.hh>
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
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.