dune-mmesh (1.4)

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{
10
11 namespace Capabilities
12 {
13
14 template< class HostGrid, int dim >
15 struct hasHierarchicIndexSet< MMesh< HostGrid, dim > >
16 {
17 static const bool v = false;
18 };
19
20 } // namespace Capabilities
21
22
23 namespace Fem
24 {
25
26 namespace Capabilities
27 {
28
29 template< class HostGrid, int dim >
30 struct supportsCallbackAdaptation< MMesh< HostGrid, dim > >
31 {
32 static const bool v = true;
33 };
34
35 template< class HostGrid, int dim >
36 struct isLocallyAdaptive< MMesh< HostGrid, dim > >
37 {
38 static const bool v = true;
39 };
40
41 template< class MMesh >
42 struct supportsCallbackAdaptation< MMeshInterfaceGrid< MMesh > >
43 {
44 static const bool v = true;
45 };
46
47 template< class MMesh >
48 struct isLocallyAdaptive< MMeshInterfaceGrid< MMesh > >
49 {
50 static const bool v = true;
51 };
52
53 template< class MMesh >
54 struct isMMesh< MMeshInterfaceGrid< MMesh > >
55 {
56 static const bool v = true;
57 };
58
59 } // namespace Capabilities
60
61 } // namespace Fem
62
63} // namespace Dune
64
65#endif // #if HAVE_DUNE_FEM
66
67#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 (Apr 10, 22:40, 2025)