My Project
capabilities.hh
1 // -*- mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=2 sw=2 sts=2:
3 #ifndef DUNE_POLYHEDRALGRID_CAPABILITIES_HH
4 #define DUNE_POLYHEDRALGRID_CAPABILITIES_HH
5 
6 //- dune-grid includes
7 #include <dune/grid/common/capabilities.hh>
8 
9 //- dune-metagrid includes
10 #include <opm/grid/polyhedralgrid/declaration.hh>
11 
12 namespace Dune
13 {
14 
15  namespace Capabilities
16  {
17 
18  // Capabilities from dune-grid
19  // ---------------------------
20 
21  template< int dim, int dimworld, class coord_t >
22  struct hasSingleGeometryType< PolyhedralGrid< dim, dimworld, coord_t > >
23  {
24  static const bool v = false;
25  static const unsigned int topologyId = ~0u;
26  };
27 
28 
29  template< int dim, int dimworld, class coord_t >
30  struct isCartesian< PolyhedralGrid< dim, dimworld, coord_t > >
31  {
32  static const bool v = false;
33  };
34 
35 
36  template< int dim, int dimworld, class coord_t, int codim >
37  struct hasEntity< PolyhedralGrid< dim, dimworld, coord_t >, codim >
38  {
39  static const bool v = (codim == 0 || codim == 1 || codim == dim);
40  };
41 
42 
43  template< int dim, int dimworld, class coord_t, int codim >
44  struct hasEntityIterator< PolyhedralGrid< dim, dimworld, coord_t >, codim >
45  {
46  static const bool v = (codim == 0 || codim == 1 || codim == dim);
47  };
48 
49  template< int dim, int dimworld, class coord_t, int codim >
50  struct canCommunicate< PolyhedralGrid< dim, dimworld, coord_t >, codim >
51  {
52  static const bool v = false;
53  };
54 
55 
56  template< int dim, int dimworld, class coord_t >
57  struct hasBackupRestoreFacilities< PolyhedralGrid< dim, dimworld, coord_t > >
58  {
59  static const bool v = false;
60  };
61 
62  template< int dim, int dimworld, class coord_t >
63  struct isLevelwiseConforming< PolyhedralGrid< dim, dimworld, coord_t > >
64  {
65  static const bool v = false;
66  };
67 
68  template< int dim, int dimworld, class coord_t >
69  struct isLeafwiseConforming< PolyhedralGrid< dim, dimworld, coord_t > >
70  {
71  static const bool v = false;
72  };
73 
74  template< int dim, int dimworld, class coord_t >
75  struct threadSafe< PolyhedralGrid< dim, dimworld, coord_t > >
76  {
77  static const bool v = false;
78  };
79 
80  template< int dim, int dimworld, class coord_t >
81  struct viewThreadSafe< PolyhedralGrid< dim, dimworld, coord_t > >
82  {
83  static const bool v = false;
84  };
85 
86  } // namespace Capabilities
87 
88 } // namespace Dune
89 
90 #endif // #ifndef DUNE_POLYHEDRALGRID_CAPABILITIES_HH
identical grid wrapper
Definition: grid.hh:158
Copyright 2019 Equinor AS.
Definition: CartesianIndexMapper.hpp:10