Dune Core Modules (2.4.2)
#include <dune/grid/alugrid/3d/iterator.hh>
Public Types | |
typedef Dune::Intersection< GridImp, Dune::ALU3dGridIntersectionIterator< GridImp > > | Intersection |
type of the intersection | |
Public Member Functions | |
ALU3dGridIntersectionIterator (const FactoryType &factory, HElementType *el, int wLevel, bool end=false) | |
ALU3dGridIntersectionIterator (const ALU3dGridIntersectionIterator< GridImp > &org) | |
The copy constructor. | |
void | assign (const ALU3dGridIntersectionIterator< GridImp > &org) |
assignment of iterators | |
bool | equals (const ALU3dGridIntersectionIterator< GridImp > &i) const |
The copy constructor. | |
void | increment () |
increment iterator | |
EntityPointer | outside () const |
access neighbor | |
EntityPointer | inside () const |
access entity where iteration started | |
bool | boundary () const |
return true if intersection is with boundary. | |
bool | neighbor () const |
return true if across the face an neighbor on leaf exists | |
int | boundaryId () const |
return information about the Boundary | |
size_t | boundarySegmentIndex () const |
return the boundary segment index | |
LocalGeometry | geometryInInside () const |
Geometry | geometry () const |
GeometryType | type () const |
obtain the type of reference element for this intersection | |
int | indexInInside () const |
LocalGeometry | geometryInOutside () const |
int | indexInOutside () const |
int | twistInInside () const |
returns twist of face compared to inner element | |
int | twistInOutside () const |
returns twist of face compared to outer element | |
NormalType & | unitOuterNormal (const FieldVector< alu3d_ctype, dim-1 > &local) const |
NormalType & | outerNormal (const FieldVector< alu3d_ctype, dim-1 > &local) const |
NormalType & | integrationOuterNormal (const FieldVector< alu3d_ctype, dim-1 > &local) const |
int | level () const |
return level of iterator (level of item) | |
bool | conforming () const |
return true if intersection is conforming | |
const GEOFaceType & | getItem () const |
return current face | |
Protected Attributes | |
FaceInfoType | connector_ |
const IMPLElementType * | item_ |
current element from which we started the intersection iterator | |
const BNDFaceType * | ghost_ |
current pointer to ghost face if iterator was started from ghost element | |
Detailed Description
class Dune::ALU3dGridIntersectionIterator< GridImp >
Mesh entities of codimension 0 ("elements") allow to visit all neighbors, wh a neighbor is an entity of codimension 0 which has a common entity of codimens These neighbors are accessed via a IntersectionIterator. This allows the implement non-matching meshes. The number of neigbors may be different from the number o of an element!
Constructor & Destructor Documentation
◆ ALU3dGridIntersectionIterator()
Dune::ALU3dGridIntersectionIterator< GridImp >::ALU3dGridIntersectionIterator | ( | const FactoryType & | factory, |
HElementType * | el, | ||
int | wLevel, | ||
bool | end = false |
||
) |
The default Constructor , level tells on which level we want neighbours
Member Function Documentation
◆ geometry()
Geometry Dune::ALU3dGridIntersectionIterator< 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::ALU3dGridIntersectionIterator< 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::ALU3dGridIntersectionIterator< GridImp >::geometryInOutside | ( | ) | const |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor
◆ indexInInside()
int Dune::ALU3dGridIntersectionIterator< GridImp >::indexInInside | ( | ) | const |
local index of codim 1 entity in self where intersection is contained in
◆ indexInOutside()
int Dune::ALU3dGridIntersectionIterator< GridImp >::indexInOutside | ( | ) | const |
local index of codim 1 entity in neighbor where intersection is contained
◆ integrationOuterNormal()
NormalType & Dune::ALU3dGridIntersectionIterator< GridImp >::integrationOuterNormal | ( | const FieldVector< alu3d_ctype, dim-1 > & | local | ) | const |
return outer normal, this should be dependent on local coordinates for higher order boundary
◆ outerNormal()
NormalType & Dune::ALU3dGridIntersectionIterator< GridImp >::outerNormal | ( | const FieldVector< alu3d_ctype, dim-1 > & | local | ) | const |
return outer normal, this should be dependent on local coordinates for higher order boundary
◆ unitOuterNormal()
NormalType & Dune::ALU3dGridIntersectionIterator< GridImp >::unitOuterNormal | ( | const FieldVector< alu3d_ctype, dim-1 > & | local | ) | const |
return unit outer normal, this should be dependent on local coordinates for higher order boundary
Member Data Documentation
◆ connector_
|
mutableprotected |
structure containing the topological and geometrical information about the face which the iterator points to
Referenced by Dune::ALU3dGridIntersectionIterator< GridImp >::conforming(), and Dune::ALU3dGridIntersectionIterator< GridImp >::getItem().
The documentation for this class was generated from the following files:
- dune/grid/alugrid/3d/entity.hh
- dune/grid/alugrid/3d/iterator.hh