3 #ifndef DUNE_ALBERTA_MACROELEMENT_HH
4 #define DUNE_ALBERTA_MACROELEMENT_HH
21 :
public ALBERTA MACRO_EL
23 const GlobalVector &coordinate (
const int vertex )
const;
25 int boundaryId (
const int face )
const;
26 bool isBoundary (
const int face )
const;
27 const MacroElement< dim > *neighbor (
const int face )
const;
32 inline const GlobalVector &MacroElement< dim >::coordinate (
const int vertex )
const
40 inline bool MacroElement< dim >::isBoundary (
const int face )
const
42 return (boundaryId( face ) != InteriorBoundary);
47 inline int MacroElement< dim >::boundaryId (
const int face )
const
49 return wall_bound[ face ];
54 const MacroElement< dim > *MacroElement< dim >::neighbor (
const int face )
const
56 assert( (face >= 0) && (face < N_NEIGH_MAX) );
57 return static_cast< const MacroElement *
>( neigh[ face ] );
64 #endif // #if HAVE_ALBERTA
66 #endif // #ifndef DUNE_ALBERTA_MACROELEMENT_HH