dune-grid  2.4.1-rc2
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::ALU2dGridLevelIntersectionIterator< GridImp > Class Template Reference

#include <dune/grid/alugrid/2d/entity.hh>

Inheritance diagram for Dune::ALU2dGridLevelIntersectionIterator< GridImp >:
Inheritance graph

Public Types

enum  { dimension = GridImp::dimension }
 
enum  { dimensionworld = GridImp::dimensionworld }
 
typedef GridImp::GridObjectFactoryType FactoryType
 
typedef ALUMemoryProvider< ThisTypeStorageType
 
typedef GridImp::template Codim< 0 >::Entity Entity
 
typedef GridImp::template Codim< 1 >::Geometry Geometry
 
typedef GridImp::template Codim< 1 >::LocalGeometry LocalGeometry
 
typedef ALU2dGridEntity< 0, dim, GridImp > EntityImp
 
typedef ALU2dGridGeometry< dim-1, dimworld, GridImp > GeometryImp
 
typedef ALU2dGridGeometry< dim-1, dim, GridImp > LocalGeometryImp
 
typedef FieldVector< alu2d_ctype, dimworld > NormalType
 
typedef ALU2dGridEntityPointer< 0, GridImp > EntityPointer
 
typedef MakeableInterfaceObject< GeometryGeometryObject
 
enum  { dimension = GridImp::dimension }
 
enum  { dimensionworld = GridImp::dimensionworld }
 
typedef ALU2dGridIntersectionBase< GridImp > ImplementationType
 
typedef Dune::Intersection< GridImp, Dune::ALU2dGridIntersectionBase< GridImp > > Intersection
 type of the intersection More...
 
typedef FieldVector< alu2d_ctype, dim-1 > LocalCoordinate
 
typedef ALU2dGridEntityPointer< 0, GridImp > EntityPointerImp
 
typedef ALU2DIntersectionGeometryStorage< GridImp, LocalGeometryImpl > LocalGeometryStorageType
 

Public Member Functions

 ALU2dGridLevelIntersectionIterator (const FactoryType &factory, int wLevel)
 The default Constructor , creating an empty ALU2dGridIntersectionIterator. More...
 
 ALU2dGridLevelIntersectionIterator (const FactoryType &factory, const HElementType *el, int wLevel, bool end=true)
 The default Constructor , level tells on which level we want neighbours. More...
 
 ALU2dGridLevelIntersectionIterator (const ALU2dGridLevelIntersectionIterator< GridImp > &org)
 The copy constructor. More...
 
void assign (const ALU2dGridLevelIntersectionIterator< GridImp > &org)
 The copy constructor. More...
 
void increment ()
 increment iterator More...
 
bool conforming () const
 
void assign (const ThisType &org)
 The copy constructor. More...
 
const Intersectiondereference () const
 
bool equals (const ThisType &i) const
 check whether entities are the same or whether iterator is done More...
 
int level () const
 return level of inside(entity) More...
 
bool boundary () const
 return true if intersection is with boundary More...
 
int boundaryId () const
 return boundary type More...
 
size_t boundarySegmentIndex () const
 return the boundary segment index More...
 
bool neighbor () const
 return true if intersection is with neighbor on this level More...
 
EntityPointer inside () const
 return EntityPointer to the Entity on the inside of this intersection. More...
 
EntityPointer outside () const
 return EntityPointer to the Entity on the outside of this intersection. More...
 
int indexInInside () const
 local index of codim 1 entity in self where intersection is contained in More...
 
int indexInOutside () const
 local index of codim 1 entity in neighbor where intersection is contained in More...
 
int twistInInside () const
 
int twistInOutside () const
 
NormalType outerNormal (const LocalCoordinate &local) const
 
NormalType integrationOuterNormal (const LocalCoordinate &local) const
 
NormalType unitOuterNormal (const LocalCoordinate &local) const
 
LocalGeometry geometryInInside () const
 
LocalGeometry geometryInOutside () const
 
Geometry geometry () const
 
GeometryType type () const
 obtain the type of reference element for this intersection More...
 

Protected Member Functions

bool isConform () const
 
const GridImp & grid () const
 
void checkValid ()
 return true if intersection is with boundary More...
 
void done (const HElementType *inside)
 
void done (const EntityImp &en)
 
void unsetUp2Date ()
 
void first (const EntityImp &en, int wLevel)
 reset IntersectionIterator to first neighbour More...
 

Protected Attributes

struct Dune::ALU2dGridIntersectionBase::impl current
 
GeometryImpl intersectionGlobal_
 
LocalGeometryImpl intersectionSelfLocal_
 
LocalGeometryImpl intersectionNeighborLocal_
 
const FactoryTypefactory_
 
const LocalGeometryStorageTypelocalGeomStorage_
 
int walkLevel_
 

Member Typedef Documentation

template<class GridImp>
typedef GridImp::template Codim<0>::Entity Dune::ALU2dGridLevelIntersectionIterator< GridImp >::Entity
template<class GridImp>
typedef ALU2dGridEntity<0,dim,GridImp> Dune::ALU2dGridLevelIntersectionIterator< GridImp >::EntityImp
template<class GridImp>
typedef ALU2dGridEntityPointer<0,GridImp> Dune::ALU2dGridLevelIntersectionIterator< GridImp >::EntityPointer
template<class GridImp>
typedef ALU2dGridEntityPointer<0,GridImp> Dune::ALU2dGridIntersectionBase< GridImp >::EntityPointerImp
inherited
template<class GridImp>
typedef GridImp :: GridObjectFactoryType Dune::ALU2dGridLevelIntersectionIterator< GridImp >::FactoryType
template<class GridImp>
typedef GridImp::template Codim<1>::Geometry Dune::ALU2dGridLevelIntersectionIterator< GridImp >::Geometry
template<class GridImp>
typedef ALU2dGridGeometry<dim-1,dimworld,GridImp> Dune::ALU2dGridLevelIntersectionIterator< GridImp >::GeometryImp
template<class GridImp>
typedef ALU2dGridIntersectionBase< GridImp > Dune::ALU2dGridIntersectionBase< GridImp >::ImplementationType
inherited
template<class GridImp>
typedef Dune::Intersection< GridImp, Dune::ALU2dGridIntersectionBase< GridImp > > Dune::ALU2dGridIntersectionBase< GridImp >::Intersection
inherited

type of the intersection

template<class GridImp>
typedef FieldVector< alu2d_ctype, dim-1 > Dune::ALU2dGridIntersectionBase< GridImp >::LocalCoordinate
inherited
template<class GridImp>
typedef GridImp::template Codim<1>::LocalGeometry Dune::ALU2dGridLevelIntersectionIterator< GridImp >::LocalGeometry
template<class GridImp>
typedef ALU2dGridGeometry<dim-1,dim,GridImp> Dune::ALU2dGridLevelIntersectionIterator< GridImp >::LocalGeometryImp
template<class GridImp>
typedef ALU2DIntersectionGeometryStorage< GridImp, LocalGeometryImpl > Dune::ALU2dGridIntersectionBase< GridImp >::LocalGeometryStorageType
inherited
template<class GridImp>
typedef FieldVector<alu2d_ctype, dimworld> Dune::ALU2dGridLevelIntersectionIterator< GridImp >::NormalType
template<class GridImp>
typedef ALUMemoryProvider< ThisType > Dune::ALU2dGridLevelIntersectionIterator< GridImp >::StorageType

Member Enumeration Documentation

template<class GridImp>
anonymous enum
inherited
Enumerator
dimension 
template<class GridImp>
anonymous enum
inherited
Enumerator
dimensionworld 
template<class GridImp>
anonymous enum
Enumerator
dimension 
template<class GridImp>
anonymous enum
Enumerator
dimensionworld 

Constructor & Destructor Documentation

template<class GridImp >
Dune::ALU2dGridLevelIntersectionIterator< GridImp >::ALU2dGridLevelIntersectionIterator ( const FactoryType factory,
int  wLevel 
)
inline
template<class GridImp >
Dune::ALU2dGridLevelIntersectionIterator< GridImp >::ALU2dGridLevelIntersectionIterator ( const FactoryType factory,
const HElementType el,
int  wLevel,
bool  end = true 
)
inline
template<class GridImp >
Dune::ALU2dGridLevelIntersectionIterator< GridImp >::ALU2dGridLevelIntersectionIterator ( const ALU2dGridLevelIntersectionIterator< GridImp > &  org)
inline

Member Function Documentation

template<class GridImp >
void Dune::ALU2dGridIntersectionBase< GridImp >::assign ( const ThisType org)
inlineinherited
template<class GridImp >
void Dune::ALU2dGridLevelIntersectionIterator< GridImp >::assign ( const ALU2dGridLevelIntersectionIterator< GridImp > &  org)
inline
template<class GridImp >
bool Dune::ALU2dGridIntersectionBase< GridImp >::boundary ( ) const
inlineinherited
template<class GridImp >
int Dune::ALU2dGridIntersectionBase< GridImp >::boundaryId ( ) const
inlineinherited
template<class GridImp >
size_t Dune::ALU2dGridIntersectionBase< GridImp >::boundarySegmentIndex ( ) const
inlineinherited
template<class GridImp >
void Dune::ALU2dGridIntersectionBase< GridImp >::checkValid ( )
inlineprotectedinherited
template<class GridImp>
bool Dune::ALU2dGridLevelIntersectionIterator< GridImp >::conforming ( ) const
inlinevirtual

level is conforming when non-conform grid used otherwise might not be conform

Implements Dune::ALU2dGridIntersectionBase< GridImp >.

template<class GridImp>
const Intersection& Dune::ALU2dGridIntersectionBase< GridImp >::dereference ( ) const
inlineinherited
template<class GridImp >
void Dune::ALU2dGridIntersectionBase< GridImp >::done ( const HElementType inside)
inlineprotectedinherited
template<class GridImp>
void Dune::ALU2dGridIntersectionBase< GridImp >::done ( const EntityImp en)
inlineprotectedinherited
template<class GridImp >
bool Dune::ALU2dGridIntersectionBase< GridImp >::equals ( const ThisType i) const
inlineinherited
template<class GridImp >
void Dune::ALU2dGridIntersectionBase< GridImp >::first ( const EntityImp en,
int  wLevel 
)
inlineprotectedinherited
template<class GridImp >
ALU2dGridIntersectionBase< GridImp >::Geometry Dune::ALU2dGridIntersectionBase< GridImp >::geometry ( ) const
inlineinherited
template<class GridImp >
ALU2dGridIntersectionBase< GridImp >::LocalGeometry Dune::ALU2dGridIntersectionBase< GridImp >::geometryInInside ( ) const
inlineinherited
template<class GridImp >
ALU2dGridIntersectionBase< GridImp >::LocalGeometry Dune::ALU2dGridIntersectionBase< GridImp >::geometryInOutside ( ) const
inlineinherited
template<class GridImp>
const GridImp& Dune::ALU2dGridIntersectionBase< GridImp >::grid ( ) const
inlineprotectedinherited
template<class GridImp >
void Dune::ALU2dGridLevelIntersectionIterator< GridImp >::increment ( )
inline
template<class GridImp >
int Dune::ALU2dGridIntersectionBase< GridImp >::indexInInside ( ) const
inlineinherited

local index of codim 1 entity in self where intersection is contained in

local number of codim 1 entity in self where intersection is contained in

References ALU2DSPACE, Dune::ALU2dGridIntersectionBase< GridImp >::current, Dune::ALU2dGridIntersectionBase< GridImp >::impl::index_, Dune::mixed, Dune::ALU2dGridIntersectionBase< GridImp >::impl::nFaces(), and ALU2DSPACENAME::triangle.

Referenced by Dune::ALU2dGridIntersectionBase< GridImp >::outerNormal().

template<class GridImp >
int Dune::ALU2dGridIntersectionBase< GridImp >::indexInOutside ( ) const
inlineinherited

local index of codim 1 entity in neighbor where intersection is contained in

local number of codim 1 entity in neighbor where intersection is contained in

References ALU2DSPACE, Dune::ALU2dGridIntersectionBase< GridImp >::current, Dune::mixed, Dune::ALU2dGridIntersectionBase< GridImp >::impl::nFaces(), Dune::ALU2dGridIntersectionBase< GridImp >::impl::opposite(), and ALU2DSPACENAME::triangle.

template<class GridImp >
ALU2dGridIntersectionBase< GridImp >::EntityPointer Dune::ALU2dGridIntersectionBase< GridImp >::inside ( ) const
inlineinherited
template<class GridImp >
ALU2dGridIntersectionBase< GridImp >::NormalType Dune::ALU2dGridIntersectionBase< GridImp >::integrationOuterNormal ( const LocalCoordinate local) const
inlineinherited
template<class GridImp>
bool Dune::ALU2dGridLevelIntersectionIterator< GridImp >::isConform ( ) const
inlineprotected
template<class GridImp >
int Dune::ALU2dGridIntersectionBase< GridImp >::level ( ) const
inlineinherited
template<class GridImp >
bool Dune::ALU2dGridIntersectionBase< GridImp >::neighbor ( ) const
inlineinherited

return true if intersection is with neighbor on this level

References Dune::ALU2dGridIntersectionBase< GridImp >::current, and Dune::ALU2dGridIntersectionBase< GridImp >::impl::outside().

template<class GridImp >
ALU2dGridIntersectionBase< GridImp >::NormalType Dune::ALU2dGridIntersectionBase< GridImp >::outerNormal ( const LocalCoordinate local) const
inlineinherited
template<class GridImp >
ALU2dGridIntersectionBase< GridImp >::EntityPointer Dune::ALU2dGridIntersectionBase< GridImp >::outside ( ) const
inlineinherited
template<class GridImp >
int Dune::ALU2dGridIntersectionBase< GridImp >::twistInInside ( ) const
inlineinherited
template<class GridImp >
int Dune::ALU2dGridIntersectionBase< GridImp >::twistInOutside ( ) const
inlineinherited
template<class GridImp >
GeometryType Dune::ALU2dGridIntersectionBase< GridImp >::type ( ) const
inlineinherited

obtain the type of reference element for this intersection

References ALU2DSPACE, and ALU2DSPACENAME::triangle.

template<class GridImp >
ALU2dGridIntersectionBase< GridImp >::NormalType Dune::ALU2dGridIntersectionBase< GridImp >::unitOuterNormal ( const LocalCoordinate local) const
inlineinherited
template<class GridImp >
void Dune::ALU2dGridIntersectionBase< GridImp >::unsetUp2Date ( )
inlineprotectedinherited

Member Data Documentation

template<class GridImp>
struct Dune::ALU2dGridIntersectionBase::impl Dune::ALU2dGridIntersectionBase< GridImp >::current
protectedinherited
template<class GridImp>
const FactoryType& Dune::ALU2dGridIntersectionBase< GridImp >::factory_
protectedinherited
template<class GridImp>
GeometryImpl Dune::ALU2dGridIntersectionBase< GridImp >::intersectionGlobal_
mutableprotectedinherited
template<class GridImp>
LocalGeometryImpl Dune::ALU2dGridIntersectionBase< GridImp >::intersectionNeighborLocal_
mutableprotectedinherited
template<class GridImp>
LocalGeometryImpl Dune::ALU2dGridIntersectionBase< GridImp >::intersectionSelfLocal_
mutableprotectedinherited
template<class GridImp>
const LocalGeometryStorageType& Dune::ALU2dGridIntersectionBase< GridImp >::localGeomStorage_
protectedinherited
template<class GridImp>
int Dune::ALU2dGridIntersectionBase< GridImp >::walkLevel_
mutableprotectedinherited

The documentation for this class was generated from the following files: