3 #ifndef ALU3DGRID_ENTITYKEY_HH
4 #define ALU3DGRID_ENTITYKEY_HH
9 template<
int cd,
class Gr
idImp>
10 class ALU3dGridEntitySeed ;
17 template<
int codim,
class Gr
idImp >
22 enum {
dim = GridImp::dimension };
26 typedef typename GridImp::MPICommunicatorType
Comm;
32 typedef ALU3dImplTraits<GridImp::elementType, Comm >
ImplTraits;
35 typedef typename ImplTraits::template Codim<codim>::EntitySeedType
KeyType ;
40 template <int cd, class Key>
65 if( key->isboundary() )
67 return ((static_cast< BNDFaceType* > ( key ))->getGhost().first);
79 static bool isGhost(
KeyType* key) { assert( key );
return key->isboundary(); }
89 typedef typename GridImp::template Codim<codimension>::Entity
Entity;
211 template<
int cd,
class Gr
idImp>
218 enum { dim = GridImp::dimension };
219 enum { dimworld = GridImp::dimensionworld };
221 typedef typename GridImp::MPICommunicatorType Comm;
227 typedef ALU3dImplTraits< GridImp::elementType, Comm >
ImplTraits;
231 typedef typename ImplTraits::BNDFaceType
BNDFaceType;
323 template<
class Gr
idImp>
332 enum { dim = GridImp::dimension };
333 enum { dimworld = GridImp::dimensionworld };
335 typedef typename GridImp::MPICommunicatorType
Comm;
341 typedef ALU3dImplTraits<GridImp::elementType, Comm >
ImplTraits;
383 template <
int cd,
class Gr
idImp>
397 template<
int codim,
class Gr
idImp >
403 template<
int codim,
class Gr
idImp >
406 : item_( toKey(&item) )
409 template<
int codim,
class Gr
idImp >
412 : item_( toKey(&ghostFace) )
415 template<
int codim,
class Gr
idImp >
421 template<
int codim,
class Gr
idImp >
430 template<
int codim,
class Gr
idImp >
435 return (item_ == i.
item_);
444 template<
int codim,
class Gr
idImp >
456 template<
int codim,
class Gr
idImp >
465 template<
int codim,
class Gr
idImp >
471 BaseType :: operator = ( org );
480 template<
int codim,
class Gr
idImp >
485 level_ = defaultValue ;
486 twist_ = defaultTwist ;
487 face_ = defaultValue ;