1 #ifndef ALU3DGRID_ENTITYKEY_HH
2 #define ALU3DGRID_ENTITYKEY_HH
7 template<
int cd,
class Gr
idImp>
8 class ALU3dGridEntitySeed ;
15 template<
int codim,
class Gr
idImp >
20 enum {
dim = GridImp::dimension };
24 typedef typename GridImp::MPICommunicatorType
Comm;
30 typedef ALU3dImplTraits<GridImp::elementType, Comm >
ImplTraits;
33 typedef typename ImplTraits::template Codim<codim>::EntitySeedType
KeyType ;
38 template <int cd, class Key>
63 if( key->isboundary() )
65 return ((static_cast< BNDFaceType* > ( key ))->getGhost().first);
77 static bool isGhost(
KeyType* key) { assert( key );
return key->isboundary(); }
87 typedef typename GridImp::template Codim<codimension>::Entity
Entity;
203 template<
int cd,
class Gr
idImp>
210 enum { dim = GridImp::dimension };
211 enum { dimworld = GridImp::dimensionworld };
213 typedef typename GridImp::MPICommunicatorType Comm;
219 typedef ALU3dImplTraits< GridImp::elementType, Comm >
ImplTraits;
223 typedef typename ImplTraits::BNDFaceType
BNDFaceType;
315 template<
class Gr
idImp>
324 enum { dim = GridImp::dimension };
325 enum { dimworld = GridImp::dimensionworld };
327 typedef typename GridImp::MPICommunicatorType
Comm;
333 typedef ALU3dImplTraits<GridImp::elementType, Comm >
ImplTraits;
376 template <
int cd,
class Gr
idImp>
390 template<
int codim,
class Gr
idImp >
397 template<
int codim,
class Gr
idImp >
400 : item_( toKey(&item) )
404 template<
int codim,
class Gr
idImp >
407 : item_( toKey(&ghostFace) )
411 template<
int codim,
class Gr
idImp >
418 template<
int codim,
class Gr
idImp >
427 template<
int codim,
class Gr
idImp >
432 return (item_ == i.
item_);
441 template<
int codim,
class Gr
idImp >
454 template<
int codim,
class Gr
idImp >
464 template<
int codim,
class Gr
idImp >
470 BaseType :: operator = ( org );
479 template<
int codim,
class Gr
idImp >
484 level_ = defaultValue ;
485 twist_ = defaultTwist ;
486 face_ = defaultValue ;