dune-grid
2.2.0
|
#include <dune/grid/alugrid/3d/iterator.hh>
Public Types | |
typedef GridImp::GridObjectFactoryType | FactoryType |
typedef ALUMemoryProvider < ThisType > | StorageType |
typedef GridImp::template Codim< 0 >::Entity | Entity |
typedef GridImp::template Codim< 1 >::Geometry | Geometry |
typedef GridImp::template Codim< 1 >::LocalGeometry | LocalGeometry |
typedef ALU3dGridIntersectionIterator < GridImp > | ImplementationType |
typedef Dune::Intersection < GridImp, Dune::ALU3dGridIntersectionIterator > | Intersection |
type of the intersection | |
typedef FieldVector < alu3d_ctype, dimworld > | NormalType |
typedef ALU3dGridEntityPointer < 0, GridImp > | EntityPointer |
Public Member Functions | |
ALU3dGridLevelIntersectionIterator (const FactoryType &factory, HElementType *el, int wLevel, bool end=false) | |
ALU3dGridLevelIntersectionIterator (const FactoryType &factory, int wLevel) | |
ALU3dGridLevelIntersectionIterator (const ThisType &org) | |
The copy constructor. | |
void | assign (const ThisType &org) |
assignment of iterators | |
void | increment () |
increment iterator | |
template<class EntityType > | |
void | first (const EntityType &en, int wLevel) |
bool | neighbor () const |
return true if across the edge an neighbor on this level exists | |
bool | levelNeighbor () const |
return true if across the edge an neighbor on this level exists | |
bool | leafNeighbor () const |
return true if across the edge an neighbor on leaf level exists | |
bool | conforming () const |
return true if intersection is conforming | |
void | assign (const ALU3dGridIntersectionIterator< GridImp > &org) |
assignment of iterators | |
const Intersection & | dereference () const |
bool | equals (const ALU3dGridIntersectionIterator< GridImp > &i) const |
The copy constructor. | |
EntityPointer | outside () const |
access neighbor | |
EntityPointer | inside () const |
access entity where iteration started | |
bool | boundary () const |
return true if intersection is with boundary. | |
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 | twistInSelf () const |
returns twist of face compared to inner element | |
int | twistInNeighbor () const |
returns twist of face compared to outer element | |
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) | |
int | outsideLevel () const |
const GEOFaceType & | getItem () const |
return current face |
Protected Types | |
enum | IntersectionIteratorType { IntersectionLeaf, IntersectionLevel, IntersectionBoth } |
typedef GridImp::Traits::template Codim< 1 >::GeometryImpl | GeometryImpl |
typedef GridImp::Traits::template Codim< 1 >::LocalGeometryImpl | LocalGeometryImpl |
Protected Member Functions | |
void | done () |
template<class EntityType > | |
void | done (const EntityType &en) |
void | buildLocalGeometries () const |
const ALU3dImplTraits< tetra, Comm >::GEOFaceType * | getFace (const GEOTriangleBndType &bnd, int index) const |
const ALU3dImplTraits< hexa, Comm >::GEOFaceType * | getFace (const GEOQuadBndType &bnd, int index) const |
const ALU3dImplTraits< tetra, Comm >::GEOFaceType * | getFace (const GEOTetraElementType &elem, int index) const |
const ALU3dImplTraits< hexa, Comm >::GEOFaceType * | getFace (const GEOHexaElementType &elem, int index) const |
Protected Attributes | |
FaceInfoType | connector_ |
GeometryInfoType | geoProvider_ |
const FactoryType & | factory_ |
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 | |
int | innerLevel_ |
int | index_ |
GeometryImpl | intersectionGlobal_ |
GeometryImpl | intersectionSelfLocal_ |
GeometryImpl | intersectionNeighborLocal_ |
NormalType | unitOuterNormal_ |
bool | done_ |
Friends | |
class | ALU3dGridEntity< 0, dim, GridImp > |
class | IntersectionIteratorWrapper< GridImp, ThisType > |
|
inherited |
|
inherited |
typedef GridImp::GridObjectFactoryType Dune::ALU3dGridLevelIntersectionIterator< GridImp >::FactoryType |
Reimplemented from Dune::ALU3dGridIntersectionIterator< GridImp >.
|
inherited |
|
protectedinherited |
|
inherited |
|
inherited |
type of the intersection
|
inherited |
|
protectedinherited |
|
inherited |
typedef ALUMemoryProvider< ThisType > Dune::ALU3dGridLevelIntersectionIterator< GridImp >::StorageType |
Reimplemented from Dune::ALU3dGridIntersectionIterator< GridImp >.
|
protectedinherited |
Dune::ALU3dGridLevelIntersectionIterator< GridImp >::ALU3dGridLevelIntersectionIterator | ( | const FactoryType & | factory, |
HElementType * | el, | ||
int | wLevel, | ||
bool | end = false |
||
) |
The default Constructor , level tells on which level we want neighbours
Dune::ALU3dGridLevelIntersectionIterator< GridImp >::ALU3dGridLevelIntersectionIterator | ( | const FactoryType & | factory, |
int | wLevel | ||
) |
Dune::ALU3dGridLevelIntersectionIterator< GridImp >::ALU3dGridLevelIntersectionIterator | ( | const ThisType & | org | ) |
The copy constructor.
|
inherited |
assignment of iterators
void Dune::ALU3dGridLevelIntersectionIterator< GridImp >::assign | ( | const ThisType & | org | ) |
assignment of iterators
|
inherited |
return true if intersection is with boundary.
|
inherited |
return information about the Boundary
|
inherited |
return the boundary segment index
|
protectedinherited |
|
inline |
return true if intersection is conforming
Reimplemented from Dune::ALU3dGridIntersectionIterator< GridImp >.
References Dune::ALU3dGridFaceInfo< type, Comm >::conformanceState(), Dune::ALU3dGridFaceInfo< GridImp::elementType, Comm >::CONFORMING, Dune::ALU3dGridIntersectionIterator< GridImp >::connector_, and Dune::ALU3dGridLevelIntersectionIterator< GridImp >::neighbor().
|
inlineinherited |
|
protectedinherited |
|
inlineprotectedinherited |
References Dune::ALU3dGridIntersectionIterator< GridImp >::done().
Referenced by Dune::ALU3dGridIntersectionIterator< GridImp >::done().
|
inherited |
The copy constructor.
void Dune::ALU3dGridLevelIntersectionIterator< GridImp >::first | ( | const EntityType & | en, |
int | wLevel | ||
) |
Reimplemented from Dune::ALU3dGridIntersectionIterator< GridImp >.
|
inherited |
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.
|
inherited |
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.
|
inherited |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inlineinherited |
return current face
References Dune::ALU3dGridIntersectionIterator< GridImp >::connector_, and Dune::ALU3dGridFaceInfo< type, Comm >::face().
void Dune::ALU3dGridLevelIntersectionIterator< GridImp >::increment | ( | ) |
increment iterator
Reimplemented from Dune::ALU3dGridIntersectionIterator< GridImp >.
|
inherited |
local index of codim 1 entity in self where intersection is contained in
|
inherited |
local index of codim 1 entity in neighbor where intersection is contained
|
inherited |
access entity where iteration started
|
inherited |
return outer normal, this should be dependent on local coordinates for higher order boundary
bool Dune::ALU3dGridLevelIntersectionIterator< GridImp >::leafNeighbor | ( | ) | const |
return true if across the edge an neighbor on leaf level exists
Reimplemented from Dune::ALU3dGridIntersectionIterator< GridImp >.
|
inherited |
return level of iterator (level of item)
bool Dune::ALU3dGridLevelIntersectionIterator< GridImp >::levelNeighbor | ( | ) | const |
return true if across the edge an neighbor on this level exists
Reimplemented from Dune::ALU3dGridIntersectionIterator< GridImp >.
bool Dune::ALU3dGridLevelIntersectionIterator< GridImp >::neighbor | ( | ) | const |
return true if across the edge an neighbor on this level exists
Reimplemented from Dune::ALU3dGridIntersectionIterator< GridImp >.
Referenced by Dune::ALU3dGridLevelIntersectionIterator< GridImp >::conforming().
|
inherited |
return outer normal, this should be dependent on local coordinates for higher order boundary
|
inherited |
access neighbor
|
inlineinherited |
|
inherited |
returns twist of face compared to inner element
Referenced by Dune::ALU3dGridIntersectionIterator< GridImp >::twistInSelf().
|
inlineinherited |
returns twist of face compared to outer element
References Dune::ALU3dGridIntersectionIterator< GridImp >::twistInOutside().
|
inherited |
returns twist of face compared to outer element
Referenced by Dune::ALU3dGridIntersectionIterator< GridImp >::twistInNeighbor().
|
inlineinherited |
returns twist of face compared to inner element
References Dune::ALU3dGridIntersectionIterator< GridImp >::twistInInside().
|
inherited |
obtain the type of reference element for this intersection
|
inherited |
return unit outer normal, this should be dependent on local coordinates for higher order boundary
|
friend |
Reimplemented from Dune::ALU3dGridIntersectionIterator< GridImp >.
|
friend |
Reimplemented from Dune::ALU3dGridIntersectionIterator< GridImp >.
|
mutableprotectedinherited |
structure containing the topological and geometrical information about the face which the iterator points to
Referenced by Dune::ALU3dGridIntersectionIterator< GridImp >::conforming(), Dune::ALU3dGridLevelIntersectionIterator< GridImp >::conforming(), Dune::ALU3dGridIntersectionIterator< GridImp >::getItem(), and Dune::ALU3dGridIntersectionIterator< GridImp >::outsideLevel().
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
current pointer to ghost face if iterator was started from ghost element
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
current element from which we started the intersection iterator
|
mutableprotectedinherited |