1#ifndef ALUGRID_ENTITY_INLINE_HH
2#define ALUGRID_ENTITY_INLINE_HH
214 template<
int codim,
class Gr
idImp >
222 template<
int codim,
class Gr
idImp >
230 template<
int codim,
class Gr
idImp >
239 template<
int codim,
class Gr
idImp >
247 template<
int codim,
class Gr
idImp >
251 , entity_( org.entity_.impl() )
253 alugrid_assert( seed_ == org.seed_ );
254 alugrid_assert( entity_ == org.entity_ );
257 template<
int codim,
class Gr
idImp >
266 template<
int codim,
class Gr
idImp >
269 clone (
const ALU3dGridEntityPointerType & org)
274 if( seed_.isValid() )
277 entityImp().setEntity( org.entityImp() );
285 template<
int codim,
class Gr
idImp >
291 template<
int codim,
class Gr
idImp >
296 return (seed_.equals( i.seed_ ));
299 template<
int codim,
class Gr
idImp >
303 seed_.set( ghostFace );
304 if( seed_.isValid() )
306 entityImp().setGhost( ghostFace );
310 template<
int codim,
class Gr
idImp >
311 inline void ALU3dGridEntityPointerBase<codim,GridImp>::
312 updateEntityPointer( HElementType * item ,
int )
315 if( seed_.isValid() )
317 entityImp().setElement( *item );
327 template<
int codim,
class Gr
idImp >
328 inline void ALU3dGridEntityPointer<codim,GridImp>::
329 updateEntityPointer( HElementType * item,
int level)
331 seed_.set( *item, level );
332 if( seed_.isValid() )
334 entityImp().setElement( seed_ );
Definition: entity.hh:449
ALU3dGridEntityPointerBase()
default empty constructor
Definition: entity_inline.hh:241
bool equals(const ALU3dGridEntityPointerType &i) const
equality
Definition: entity_inline.hh:293
ALU3dGridEntitySeed< codimension, GridImp > ALU3dGridEntitySeedType
type of entity seed
Definition: entity.hh:480
ThisType & operator=(const ThisType &org)
assignment operator
Definition: entity_inline.hh:260
void done()
has to be called when iterator is finished
Definition: entity_inline.hh:286
A few common exception classes.
Dune namespace.
Definition: alignedallocator.hh:13