dune-mmesh (unstable)

capabilities.hh
1#ifndef DUNE_MMESH_MISC_CAPABILITIES_HH
2#define DUNE_MMESH_MISC_CAPABILITIES_HH
3
4#if HAVE_DUNE_FEM
5
6#include <dune/fem/misc/capabilities.hh>
7
8namespace Dune {
9
10namespace Capabilities {
11
12template <class HostGrid, int dim>
13struct hasHierarchicIndexSet<MMesh<HostGrid, dim> > {
14 static const bool v = false;
15};
16
17} // namespace Capabilities
18
19namespace Fem {
20
21namespace Capabilities {
22
23template <class HostGrid, int dim>
24struct supportsCallbackAdaptation<MMesh<HostGrid, dim> > {
25 static const bool v = true;
26};
27
28template <class HostGrid, int dim>
29struct isLocallyAdaptive<MMesh<HostGrid, dim> > {
30 static const bool v = true;
31};
32
33template <class MMesh>
34struct supportsCallbackAdaptation<MMeshInterfaceGrid<MMesh> > {
35 static const bool v = true;
36};
37
38template <class MMesh>
39struct isLocallyAdaptive<MMeshInterfaceGrid<MMesh> > {
40 static const bool v = true;
41};
42
43template <class MMesh>
44struct isMMesh<MMeshInterfaceGrid<MMesh> > {
45 static const bool v = true;
46};
47
48} // namespace Capabilities
49
50} // namespace Fem
51
52} // namespace Dune
53
54#endif // #if HAVE_DUNE_FEM
55
56#endif // #if DUNE_MMESH_MISC_CAPABILITIES_HH
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Sep 5, 22:35, 2025)