3 #ifndef DUNE_ALU3DGRIDFACEUTILITY_HH
4 #define DUNE_ALU3DGRIDFACEUTILITY_HH
6 #include <dune/geometry/referenceelements.hh>
30 return ((
const alu3d_ctype (&)[dim])(*( &(val[0])) ) );
41 template< ALU3dGr
idElementType type,
class Comm >
44 typedef ALU3dImplTraits< type, Comm > ImplTraits;
46 typedef typename ImplTraits::HasFaceType HasFaceType;
116 int duneTwist(
const int faceIdx,
const int aluTwist)
const;
136 return ! Conversion< Comm, No_Comm > :: sameType ;
154 const HasFaceType* innerElement_;
155 const HasFaceType* outerElement_;
157 int innerFaceNumber_;
158 int outerFaceNumber_;
166 enum boundary_t { noBoundary = 0,
167 periodicBoundary = 1,
168 innerGhostBoundary = 2,
170 outerGhostBoundary = 4};
175 const bool conformingRefinement_ ;
176 const bool ghostCellsEnabled_ ;
183 template< ALU3dGr
idElementType type,
class Comm >
186 template<
class Comm >
204 template<
class Comm >
227 template< ALU3dGr
idElementType type,
class Comm >
281 void generateLocalGeometries()
const;
283 int globalVertexIndex(
const int duneFaceIndex,
285 const int duneFaceVertexIndex)
const;
304 return (type ==
tetra) ?
311 return (type ==
tetra) ?
319 template<
class Comm >
343 template <
class GeometryImp>
358 mutable bool normalUp2Date_;
363 template<
class Comm >
388 template <
class GeometryImp>
406 mutable bool mappingGlobalUp2Date_;
411 #include "faceutility_imp.cc"