3#ifndef DUNE_ALBERTA_MACROELEMENT_HH
4#define DUNE_ALBERTA_MACROELEMENT_HH
6#include <dune/grid/albertagrid/misc.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
34 assert( (vertex >= 0) && (vertex < N_VERTICES_MAX) );
35 return *coord[ vertex ];
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 ] );
Dune namespace.
Definition: alignment.hh:11