- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#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 > | Intersection |
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 | conforming () const |
return true if intersection is conform. | |
int | boundaryId () const |
int | boundarySegmentIndex () const |
bool | neighbor () const |
return true if neighbor on this level exists | |
FieldVector< ctype, GridImp::dimensionworld > | outerNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const |
return outer normal | |
FieldVector< ctype, GridImp::dimensionworld > | unitOuterNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const |
return unit outer normal | |
FieldVector< ctype, GridImp::dimensionworld > | centerUnitOuterNormal () const |
return unit outer normal at center of intersection geometry | |
FieldVector< ctype, GridImp::dimensionworld > | integrationOuterNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const |
return integration outer normal | |
const LocalGeometry & | geometryInInside () const |
const LocalGeometry & | geometryInOutside () const |
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 (const SIntersectionIterator &other) | |
SIntersectionIterator & | operator= (const SIntersectionIterator &it) |
assignment operator |
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> Dune::SIntersectionIterator< GridImp >::Intersection |
typedef Dune::SIntersection<GridImp> Dune::SIntersectionIterator< GridImp >::IntersectionImp |
typedef GridImp::template Codim<1>::LocalGeometry Dune::SIntersectionIterator< GridImp >::LocalGeometry |
Dune::SIntersectionIterator< GridImp >::SIntersectionIterator | ( | GridImp * | _grid, | |
const SEntity< 0, dim, GridImp > * | _self, | |||
int | _count | |||
) | [inline] |
constructor
Dune::SIntersectionIterator< GridImp >::SIntersectionIterator | ( | const SIntersectionIterator< GridImp > & | other | ) | [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().
int Dune::SIntersectionIterator< GridImp >::boundaryId | ( | ) | const [inline] |
int Dune::SIntersectionIterator< GridImp >::boundarySegmentIndex | ( | ) | const [inline] |
FieldVector<ctype, GridImp::dimensionworld> Dune::SIntersectionIterator< GridImp >::centerUnitOuterNormal | ( | ) | const [inline] |
return unit outer normal at center of intersection geometry
Referenced by Dune::SIntersectionIterator< GridImp >::unitOuterNormal().
bool Dune::SIntersectionIterator< GridImp >::conforming | ( | ) | const |
return true if intersection is conform.
const Intersection& Dune::SIntersectionIterator< GridImp >::dereference | ( | ) | const [inline] |
dereferencing
bool Dune::SIntersectionIterator< GridImp >::equals | ( | const SIntersectionIterator< GridImp > & | i | ) | const |
equality
const 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.
Referenced by Dune::SIntersectionIterator< GridImp >::integrationOuterNormal().
const 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.
const 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)
FieldVector<ctype, GridImp::dimensionworld> Dune::SIntersectionIterator< GridImp >::integrationOuterNormal | ( | const FieldVector< ctype, GridImp::dimension-1 > & | local | ) | const [inline] |
return integration outer normal
References Dune::SIntersectionIterator< GridImp >::geometry(), and Dune::SIntersectionIterator< GridImp >::unitOuterNormal().
bool Dune::SIntersectionIterator< GridImp >::neighbor | ( | ) | const |
return true if neighbor on this level exists
SIntersectionIterator& Dune::SIntersectionIterator< GridImp >::operator= | ( | const SIntersectionIterator< GridImp > & | it | ) | [inline] |
assignment operator
FieldVector<ctype, GridImp::dimensionworld> Dune::SIntersectionIterator< GridImp >::outerNormal | ( | const FieldVector< ctype, GridImp::dimension-1 > & | local | ) | const [inline] |
return outer normal
References Dune::SIntersectionIterator< GridImp >::unitOuterNormal().
EntityPointer Dune::SIntersectionIterator< GridImp >::outside | ( | ) | const |
return EntityPointer to the Entity on the outside of this intersection (that is the neighboring Entity)
GeometryType Dune::SIntersectionIterator< GridImp >::type | ( | ) | const [inline] |
obtain the type of reference element for this intersection
FieldVector<ctype, GridImp::dimensionworld> Dune::SIntersectionIterator< GridImp >::unitOuterNormal | ( | const FieldVector< ctype, GridImp::dimension-1 > & | local | ) | const [inline] |
return unit outer normal
References Dune::SIntersectionIterator< GridImp >::centerUnitOuterNormal().
Referenced by Dune::SIntersectionIterator< GridImp >::integrationOuterNormal(), and Dune::SIntersectionIterator< GridImp >::outerNormal().
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].