1#ifndef DUNE_MMESH_MISC_BOUNDARYIDPROVIDER_HH
2#define DUNE_MMESH_MISC_BOUNDARYIDPROVIDER_HH
6#include <dune/fem/misc/boundaryidprovider.hh>
14 template <
class HostGr
id,
int dim>
15 struct BoundaryIdProvider< MMesh<HostGrid,dim> >
17 typedef MMesh<HostGrid,dim> GridType;
19 template<
class Intersection >
20 static int boundaryId (
const Intersection &intersection )
22 return (intersection.boundary() ? (intersection.impl().boundaryId()) : 0);
26 template <
class MMesh>
27 struct BoundaryIdProvider< MMeshInterfaceGrid<MMesh> >
29 typedef MMeshInterfaceGrid<MMesh> GridType;
31 template<
class Intersection >
32 static int boundaryId (
const Intersection &intersection )
34 return (intersection.boundary() ? (intersection.impl().boundaryId()) : 0);