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

#include <dune/grid/sgrid.hh>

Public Types

enum  { dimension =dim }
 know your own dimension More...
 
enum  { dimensionworld =dimworld }
 know your own dimension of world More...
 
typedef GridImp::template Codim< 0 >::Entity Entity
 
typedef GridImp::template Codim< 0 >::EntityPointer EntityPointer
 
typedef GridImp::template Codim< 1 >::Geometry Geometry
 
typedef GridImp::template Codim< 1 >::LocalGeometry LocalGeometry
 
typedef Dune::SIntersection< GridImp > IntersectionImp
 
typedef Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > > Intersection
 
typedef GridImp::ctype ctype
 define type used for coordinates in grid module More...
 

Public Member Functions

bool equals (const SIntersectionIterator< GridImp > &i) const
 equality More...
 
void increment ()
 increment More...
 
const Intersectiondereference () const
 dereferencing More...
 
 SIntersectionIterator ()
 
 SIntersectionIterator (GridImp *_grid, const SEntity< 0, dim, GridImp > *_self, int _count)
 

Detailed Description

template<class GridImp>
class Dune::SIntersectionIterator< GridImp >

Mesh entities of codimension 0 ("elements") allow to visit all neighbors, where a neighbor is an entity of codimension 0 which has a common entity of codimension 1 with the entity. These neighbors are accessed via a IntersectionIterator. This allows the implementation of non-matching meshes. The number of neigbors may be different from the number of faces/edges of an element!

Member Typedef Documentation

template<class GridImp>
typedef GridImp::ctype Dune::SIntersectionIterator< GridImp >::ctype

define type used for coordinates in grid module

template<class GridImp>
typedef GridImp::template Codim<0>::Entity Dune::SIntersectionIterator< GridImp >::Entity
template<class GridImp>
typedef GridImp::template Codim<0>::EntityPointer Dune::SIntersectionIterator< GridImp >::EntityPointer
template<class GridImp>
typedef GridImp::template Codim<1>::Geometry Dune::SIntersectionIterator< GridImp >::Geometry
template<class GridImp>
typedef Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > > Dune::SIntersectionIterator< GridImp >::Intersection
template<class GridImp>
typedef Dune::SIntersection<GridImp> Dune::SIntersectionIterator< GridImp >::IntersectionImp
template<class GridImp>
typedef GridImp::template Codim<1>::LocalGeometry Dune::SIntersectionIterator< GridImp >::LocalGeometry

Member Enumeration Documentation

template<class GridImp>
anonymous enum

know your own dimension

Enumerator
dimension 
template<class GridImp>
anonymous enum

know your own dimension of world

Enumerator
dimensionworld 

Constructor & Destructor Documentation

template<class GridImp>
Dune::SIntersectionIterator< GridImp >::SIntersectionIterator ( )
inline
template<class GridImp>
Dune::SIntersectionIterator< GridImp >::SIntersectionIterator ( GridImp *  _grid,
const SEntity< 0, dim, GridImp > *  _self,
int  _count 
)
inline

Member Function Documentation

template<class GridImp>
const Intersection& Dune::SIntersectionIterator< GridImp >::dereference ( ) const
inline

dereferencing

template<class GridImp>
bool Dune::SIntersectionIterator< GridImp >::equals ( const SIntersectionIterator< GridImp > &  i) const
inline

equality

template<class GridImp>
void Dune::SIntersectionIterator< GridImp >::increment ( )

increment


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