1 #ifndef DUNE_ALU3DGRIDFACEUTILITY_HH
2 #define DUNE_ALU3DGRIDFACEUTILITY_HH
4 #include <dune/common/misc.hh>
5 #include <dune/geometry/referenceelements.hh>
29 return ((
const alu3d_ctype (&)[dim]) (*( &(val[0])) ) );
40 template< ALU3dGr
idElementType type,
class Comm >
43 typedef ALU3dImplTraits< type, Comm > ImplTraits;
45 typedef typename ImplTraits::HasFaceType HasFaceType;
115 int duneTwist(
const int faceIdx,
const int aluTwist)
const;
135 return ! Conversion< Comm, No_Comm > :: sameType ;
150 const HasFaceType* innerElement_;
151 const HasFaceType* outerElement_;
153 int innerFaceNumber_;
154 int outerFaceNumber_;
162 enum boundary_t { noBoundary = 0,
163 periodicBoundary = 1,
164 innerGhostBoundary = 2,
166 outerGhostBoundary = 4};
177 template< ALU3dGr
idElementType type,
class Comm >
180 template<
class Comm >
198 template<
class Comm >
221 template< ALU3dGr
idElementType type,
class Comm >
275 void generateLocalGeometries()
const;
277 int globalVertexIndex(
const int duneFaceIndex,
279 const int duneFaceVertexIndex)
const;
298 return (type ==
tetra) ?
305 return (type ==
tetra) ?
313 template<
class Comm >
337 template <
class GeometryImp>
352 mutable bool normalUp2Date_;
357 template<
class Comm >
382 template <
class GeometryImp>
400 mutable bool mappingGlobalUp2Date_;
405 #include "faceutility_imp.cc"