Dune Core Modules (2.3.1)
#include <dune/grid/sgrid.hh>
Public Types | |
enum | |
know your own dimension | |
enum | |
know your own dimension of world | |
typedef GridImp::ctype | ctype |
define type used for coordinates in grid module | |
Public Member Functions | |
bool | equals (const SIntersectionIterator< GridImp > &i) const |
equality | |
void | increment () |
increment | |
const Intersection & | dereference () const |
dereferencing | |
EntityPointer | inside () const |
EntityPointer | outside () const |
bool | boundary () const |
return true if intersection is with boundary. | |
bool | neighbor () const |
return true if neighbor on this level exists | |
LocalGeometry | geometryInInside () const |
LocalGeometry | geometryInOutside () const |
Geometry | geometry () const |
GeometryType | type () const |
obtain the type of reference element for this intersection | |
int | indexInInside () const |
local index of codim 1 entity in self where intersection is contained in | |
int | indexInOutside () const |
local index of codim 1 entity in neighbor where intersection is contained in | |
SIntersectionIterator (GridImp *_grid, const SEntity< 0, dim, GridImp > *_self, int _count) | |
constructor | |
SIntersectionIterator & | operator= (const SIntersectionIterator &other) |
assignment operator | |
Detailed Description
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 Function Documentation
◆ geometry()
Geometry Dune::SIntersectionIterator< GridImp >::geometry | ( | ) | const |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in GLOBAL coordinates of the element where iteration started.
◆ geometryInInside()
LocalGeometry Dune::SIntersectionIterator< GridImp >::geometryInInside | ( | ) | const |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of the element where iteration started.
◆ geometryInOutside()
LocalGeometry Dune::SIntersectionIterator< GridImp >::geometryInOutside | ( | ) | const |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor
◆ inside()
EntityPointer Dune::SIntersectionIterator< GridImp >::inside | ( | ) | const |
return EntityPointer to the Entity on the inside of this intersection (that is the Entity where we started this Iterator)
◆ outside()
EntityPointer Dune::SIntersectionIterator< GridImp >::outside | ( | ) | const |
return EntityPointer to the Entity on the outside of this intersection (that is the neighboring Entity)
The documentation for this class was generated from the following file:
- dune/grid/sgrid.hh