dune-fem 2.12-git
Loading...
Searching...
No Matches
hasboundaryintersection.hh
Go to the documentation of this file.
1#ifndef DUNE_FEM_MISC_HASBOUNDARYINTERSECTION_HH
2#define DUNE_FEM_MISC_HASBOUNDARYINTERSECTION_HH
3
4namespace Dune
5{
6 namespace Fem
7 {
8
9 template< class GridPart >
11 {
12 using EntityType = typename GridPart::template Codim<0>::EntityType;
13 static bool apply(const EntityType &entity)
14 {
15 return entity.hasBoundaryIntersections();
16 }
17 };
18
19 } // namespace Fem
20
21} // namespace Dune
22
23#endif // #ifndef DUNE_FEM_MISC_HASBOUNDARYINTERSECTION_HH
Definition hasboundaryintersection.hh:11
typename GridPart::template Codim< 0 >::EntityType EntityType
Definition hasboundaryintersection.hh:12
static bool apply(const EntityType &entity)
Definition hasboundaryintersection.hh:13