3 #ifndef DUNE_ALBERTA_MACROELEMENT_HH
4 #define DUNE_ALBERTA_MACROELEMENT_HH
31 #if DUNE_ALBERTA_VERSION >= 0x300
35 assert( (vertex >= 0) && (vertex < N_VERTICES_MAX) );
38 #endif // #if DUNE_ALBERTA_VERSION >= 0x300
41 #if DUNE_ALBERTA_VERSION < 0x300
45 assert( (vertex >= 0) && (vertex < N_VERTICES_MAX) );
48 #endif // #if DUNE_ALBERTA_VERSION < 0x300
58 #if DUNE_ALBERTA_VERSION >= 0x300
62 return wall_bound[ face ];
64 #endif // #if DUNE_ALBERTA_VERSION >= 0x300
66 #if DUNE_ALBERTA_VERSION < 0x300
73 assert( (face >= 0) && (face < N_VERTICES_MAX) );
74 return vertex_bound[ face ];
76 assert( (face >= 0) && (face < N_EDGES_MAX) );
77 return edge_bound[ face ];
79 assert( (face >= 0) && (face < N_FACES_MAX) );
80 return face_bound[ face ];
83 #endif // #if DUNE_ALBERTA_VERSION < 0x300
89 assert( (face >= 0) && (face < N_NEIGH_MAX) );
90 return static_cast< const MacroElement *
>( neigh[ face ] );
97 #endif // #if HAVE_ALBERTA
99 #endif // #ifndef DUNE_ALBERTA_MACROELEMENT_HH
int boundaryId(const int face) const
Definition: macroelement.hh:68
static const int InteriorBoundary
Definition: misc.hh:66
Definition: common.hh:179
Definition: macroelement.hh:20
ALBERTA REAL_D GlobalVector
Definition: misc.hh:47
bool isBoundary(const int face) const
Definition: macroelement.hh:52
const GlobalVector & coordinate(const int vertex) const
Definition: macroelement.hh:43
#define ALBERTA
Definition: albertaheader.hh:27
const MacroElement< dim > * neighbor(const int face) const
Definition: macroelement.hh:87