dune-grid
2.3.0
|
#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 Intersection & | dereference () const |
dereferencing More... | |
EntityPointer | inside () const |
EntityPointer | outside () const |
bool | boundary () const |
return true if intersection is with boundary. More... | |
int | boundaryId () const |
int | boundarySegmentIndex () const |
bool | neighbor () const |
return true if neighbor on this level exists More... | |
LocalGeometry | geometryInInside () const |
LocalGeometry | geometryInOutside () const |
Geometry | geometry () const |
GeometryType | type () const |
obtain the type of reference element for 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... | |
SIntersectionIterator (GridImp *_grid, const SEntity< 0, dim, GridImp > *_self, int _count) | |
constructor More... | |
SIntersectionIterator (const SIntersectionIterator &other) | |
SIntersectionIterator & | operator= (const SIntersectionIterator &other) |
assignment operator More... | |
Friends | |
class | SIntersection< 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!
typedef GridImp::ctype Dune::SIntersectionIterator< GridImp >::ctype |
define type used for coordinates in grid module
typedef GridImp::template Codim<0>::Entity Dune::SIntersectionIterator< GridImp >::Entity |
typedef GridImp::template Codim<0>::EntityPointer Dune::SIntersectionIterator< GridImp >::EntityPointer |
typedef GridImp::template Codim<1>::Geometry Dune::SIntersectionIterator< GridImp >::Geometry |
typedef Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > > Dune::SIntersectionIterator< GridImp >::Intersection |
typedef Dune::SIntersection<GridImp> Dune::SIntersectionIterator< GridImp >::IntersectionImp |
typedef GridImp::template Codim<1>::LocalGeometry Dune::SIntersectionIterator< GridImp >::LocalGeometry |
|
inline |
constructor
|
inline |
bool Dune::SIntersectionIterator< GridImp >::boundary | ( | ) | const |
return true if intersection is with boundary.
Referenced by Dune::SIntersectionIterator< GridImp >::boundaryId(), and Dune::SIntersectionIterator< GridImp >::boundarySegmentIndex().
|
inline |
|
inline |
|
inline |
dereferencing
bool Dune::SIntersectionIterator< GridImp >::equals | ( | const SIntersectionIterator< GridImp > & | i | ) | const |
equality
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.
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.
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
void Dune::SIntersectionIterator< GridImp >::increment | ( | ) |
increment
int Dune::SIntersectionIterator< GridImp >::indexInInside | ( | ) | const |
local index of codim 1 entity in self where intersection is contained in
int Dune::SIntersectionIterator< GridImp >::indexInOutside | ( | ) | const |
local index of codim 1 entity in neighbor where intersection is contained in
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)
bool Dune::SIntersectionIterator< GridImp >::neighbor | ( | ) | const |
return true if neighbor on this level exists
|
inline |
assignment operator
EntityPointer Dune::SIntersectionIterator< GridImp >::outside | ( | ) | const |
return EntityPointer to the Entity on the outside of this intersection (that is the neighboring Entity)
|
inline |
obtain the type of reference element for this intersection
References Dune::cube.
|
friend |