|
dune-grid
2.2.0
|
#include <dune/grid/alugrid/2d/intersection.hh>
Classes | |
| struct | impl |
Public Types | |
| enum | { dimension = GridImp::dimension } |
| enum | { dimensionworld = GridImp::dimensionworld } |
| typedef GridImp::GridObjectFactoryType | FactoryType |
| typedef ALU2dGridIntersectionBase < GridImp > | ImplementationType |
| typedef Dune::Intersection < GridImp, Dune::ALU2dGridIntersectionBase > | Intersection |
| type of the intersection | |
| 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 ALU2dGridEntity < 0, dim, GridImp > | EntityImp |
| typedef FieldVector < alu2d_ctype, dimworld > | NormalType |
| typedef FieldVector < alu2d_ctype, dim-1 > | LocalCoordinate |
| typedef ALU2dGridEntityPointer < 0, GridImp > | EntityPointerImp |
| typedef ALU2dImplTraits < dimworld, eltype > ::ThinelementType | ThinelementType |
| typedef ALU2dImplTraits < dimworld, eltype > ::HElementType | HElementType |
| typedef ALU2dImplTraits < dimworld, eltype > ::HBndElType | HBndElType |
| typedef ALU2DIntersectionGeometryStorage < LocalGeometryImpl > | LocalGeometryStorageType |
| typedef ALU2dGridIntersectionBase < GridImp > | ThisType |
Public Member Functions | |
| ALU2dGridIntersectionBase (const FactoryType &factory, int wLevel) | |
| The default Constructor , creating an empty ALU2dGridIntersectionIterator. | |
| ALU2dGridIntersectionBase (const ThisType &org) | |
| The copy constructor. | |
| virtual | ~ALU2dGridIntersectionBase () |
| void | assign (const ThisType &org) |
| The copy constructor. | |
| const Intersection & | dereference () const |
| bool | equals (const ThisType &i) const |
| check whether entities are the same or whether iterator is done | |
| int | level () const |
| return level of inside(entity) | |
| bool | boundary () const |
| return true if intersection is with boundary | |
| int | boundaryId () const |
| return boundary type | |
| size_t | boundarySegmentIndex () const |
| return the boundary segment index | |
| bool | neighbor () const |
| return true if intersection is with neighbor on this level | |
| EntityPointer | inside () const |
| return EntityPointer to the Entity on the inside of this intersection. | |
| EntityPointer | outside () const |
| return EntityPointer to the Entity on the outside of 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 | |
| int | twistInInside () const |
| int | twistInOutside () const |
| int | twistInSelf () const |
| int | twistInNeighbor () const |
| NormalType | outerNormal (const LocalCoordinate &local) const |
| NormalType | integrationOuterNormal (const LocalCoordinate &local) const |
| NormalType | unitOuterNormal (const LocalCoordinate &local) const |
| LocalGeometry | geometryInInside () const |
| LocalGeometry | geometryInOutside () const |
| Geometry | geometry () const |
| GeometryType | type () const |
| obtain the type of reference element for this intersection | |
Protected Member Functions | |
| const GridImp & | grid () const |
| virtual bool | conforming () const =0 |
| void | checkValid () |
| return true if intersection is with boundary | |
| void | done (const HElementType *inside) |
| void | done (const EntityImp &en) |
| void | unsetUp2Date () |
| void | first (const EntityImp &en, int wLevel) |
| reset IntersectionIterator to first neighbour | |
| virtual void | setFirstItem (const HElementType &elem, int wLevel)=0 |
Protected Attributes | |
| struct Dune::ALU2dGridIntersectionBase::impl | current |
| GeometryImpl | intersectionGlobal_ |
| LocalGeometryImpl | intersectionSelfLocal_ |
| LocalGeometryImpl | intersectionNeighborLocal_ |
| const FactoryType & | factory_ |
| const LocalGeometryStorageType & | localGeomStorage_ |
| int | walkLevel_ |
Friends | |
| class | LevelIntersectionIteratorWrapper< GridImp > |
| class | LeafIntersectionIteratorWrapper< GridImp > |
| class | IntersectionIteratorWrapper< GridImp, ThisType > |
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!
| typedef GridImp::template Codim<0>::Entity Dune::ALU2dGridIntersectionBase< GridImp >::Entity |
| typedef ALU2dGridEntity<0,dim,GridImp> Dune::ALU2dGridIntersectionBase< GridImp >::EntityImp |
| typedef GridImp::template Codim<0>::EntityPointer Dune::ALU2dGridIntersectionBase< GridImp >::EntityPointer |
| typedef ALU2dGridEntityPointer<0,GridImp> Dune::ALU2dGridIntersectionBase< GridImp >::EntityPointerImp |
| typedef GridImp :: GridObjectFactoryType Dune::ALU2dGridIntersectionBase< GridImp >::FactoryType |
| typedef GridImp::template Codim<1>::Geometry Dune::ALU2dGridIntersectionBase< GridImp >::Geometry |
| typedef ALU2dImplTraits< dimworld, eltype >::HBndElType Dune::ALU2dGridIntersectionBase< GridImp >::HBndElType |
| typedef ALU2dImplTraits< dimworld, eltype >::HElementType Dune::ALU2dGridIntersectionBase< GridImp >::HElementType |
| typedef ALU2dGridIntersectionBase< GridImp > Dune::ALU2dGridIntersectionBase< GridImp >::ImplementationType |
| typedef Dune::Intersection< GridImp, Dune::ALU2dGridIntersectionBase > Dune::ALU2dGridIntersectionBase< GridImp >::Intersection |
type of the intersection
| typedef FieldVector< alu2d_ctype, dim-1 > Dune::ALU2dGridIntersectionBase< GridImp >::LocalCoordinate |
| typedef GridImp::template Codim<1>::LocalGeometry Dune::ALU2dGridIntersectionBase< GridImp >::LocalGeometry |
| typedef ALU2DIntersectionGeometryStorage< LocalGeometryImpl > Dune::ALU2dGridIntersectionBase< GridImp >::LocalGeometryStorageType |
| typedef FieldVector< alu2d_ctype, dimworld > Dune::ALU2dGridIntersectionBase< GridImp >::NormalType |
| typedef ALU2dImplTraits< dimworld, eltype >::ThinelementType Dune::ALU2dGridIntersectionBase< GridImp >::ThinelementType |
| typedef ALU2dGridIntersectionBase<GridImp> Dune::ALU2dGridIntersectionBase< GridImp >::ThisType |
| Dune::ALU2dGridIntersectionBase< GridImp >::ALU2dGridIntersectionBase | ( | const FactoryType & | factory, |
| int | wLevel | ||
| ) | [inline] |
The default Constructor , creating an empty ALU2dGridIntersectionIterator.
References Dune::ALU2dGridIntersectionBase< GridImp >::done().
| Dune::ALU2dGridIntersectionBase< GridImp >::ALU2dGridIntersectionBase | ( | const ThisType & | org | ) | [inline] |
The copy constructor.
| virtual Dune::ALU2dGridIntersectionBase< GridImp >::~ALU2dGridIntersectionBase | ( | ) | [inline, virtual] |
| void Dune::ALU2dGridIntersectionBase< GridImp >::assign | ( | const ThisType & | org | ) | [inline] |
The copy constructor.
References Dune::ALU2dGridIntersectionBase< GridImp >::current, Dune::ALU2dGridIntersectionBase< GridImp >::factory_, and Dune::ALU2dGridIntersectionBase< GridImp >::walkLevel_.
Referenced by Dune::ALU2dGridLevelIntersectionIterator< GridImp >::assign(), and Dune::ALU2dGridLeafIntersectionIterator< GridImp >::assign().
| bool Dune::ALU2dGridIntersectionBase< GridImp >::boundary | ( | ) | const [inline] |
return true if intersection is with boundary
| int Dune::ALU2dGridIntersectionBase< GridImp >::boundaryId | ( | ) | const [inline] |
return boundary type
References Dune::Alberta::abs().
| size_t Dune::ALU2dGridIntersectionBase< GridImp >::boundarySegmentIndex | ( | ) | const [inline] |
return the boundary segment index
| void Dune::ALU2dGridIntersectionBase< GridImp >::checkValid | ( | ) | [inline, protected] |
return true if intersection is with boundary
References Dune::All_Partition.
| virtual bool Dune::ALU2dGridIntersectionBase< GridImp >::conforming | ( | ) | const [protected, pure virtual] |
| const Intersection& Dune::ALU2dGridIntersectionBase< GridImp >::dereference | ( | ) | const [inline] |
| void Dune::ALU2dGridIntersectionBase< GridImp >::done | ( | const HElementType * | inside | ) | [inline, protected] |
| void Dune::ALU2dGridIntersectionBase< GridImp >::done | ( | const EntityImp & | en | ) | [inline, protected] |
| bool Dune::ALU2dGridIntersectionBase< GridImp >::equals | ( | const ThisType & | i | ) | const [inline] |
check whether entities are the same or whether iterator is done
References Dune::ALU2dGridIntersectionBase< GridImp >::current, Dune::ALU2dGridIntersectionBase< GridImp >::impl::index_, and Dune::ALU2dGridIntersectionBase< GridImp >::impl::inside().
| void Dune::ALU2dGridIntersectionBase< GridImp >::first | ( | const EntityImp & | en, |
| int | wLevel | ||
| ) | [inline, protected] |
reset IntersectionIterator to first neighbour
References Dune::ALU2dGridEntity< 0, dim, GridImp >::getItem().
| ALU2dGridIntersectionBase< GridImp >::Geometry Dune::ALU2dGridIntersectionBase< GridImp >::geometry | ( | ) | const [inline] |
| ALU2dGridIntersectionBase< GridImp >::LocalGeometry Dune::ALU2dGridIntersectionBase< GridImp >::geometryInInside | ( | ) | const [inline] |
| ALU2dGridIntersectionBase< GridImp >::LocalGeometry Dune::ALU2dGridIntersectionBase< GridImp >::geometryInOutside | ( | ) | const [inline] |
References Dune::conforming.
| const GridImp& Dune::ALU2dGridIntersectionBase< GridImp >::grid | ( | ) | const [inline, protected] |
| int Dune::ALU2dGridIntersectionBase< GridImp >::indexInInside | ( | ) | const [inline] |
local index of codim 1 entity in self where intersection is contained in
local number of codim 1 entity in self where intersection is contained in
References ALU2DSPACE, Dune::mixed, and ALU2DSPACENAME::triangle.
| int Dune::ALU2dGridIntersectionBase< GridImp >::indexInOutside | ( | ) | const [inline] |
local index of codim 1 entity in neighbor where intersection is contained in
local number of codim 1 entity in neighbor where intersection is contained in
References ALU2DSPACE, Dune::mixed, and ALU2DSPACENAME::triangle.
| ALU2dGridIntersectionBase< GridImp >::EntityPointer Dune::ALU2dGridIntersectionBase< GridImp >::inside | ( | ) | const [inline] |
return EntityPointer to the Entity on the inside of this intersection.
| ALU2dGridIntersectionBase< GridImp >::NormalType Dune::ALU2dGridIntersectionBase< GridImp >::integrationOuterNormal | ( | const LocalCoordinate & | local | ) | const [inline] |
| int Dune::ALU2dGridIntersectionBase< GridImp >::level | ( | ) | const [inline] |
return level of inside(entity)
return level of inside() entitiy
| bool Dune::ALU2dGridIntersectionBase< GridImp >::neighbor | ( | ) | const [inline] |
return true if intersection is with neighbor on this level
| ALU2dGridIntersectionBase< GridImp >::NormalType Dune::ALU2dGridIntersectionBase< GridImp >::outerNormal | ( | const LocalCoordinate & | local | ) | const [inline] |
References Dune::cube.
| ALU2dGridIntersectionBase< GridImp >::EntityPointer Dune::ALU2dGridIntersectionBase< GridImp >::outside | ( | ) | const [inline] |
return EntityPointer to the Entity on the outside of this intersection.
| virtual void Dune::ALU2dGridIntersectionBase< GridImp >::setFirstItem | ( | const HElementType & | elem, |
| int | wLevel | ||
| ) | [protected, pure virtual] |
| int Dune::ALU2dGridIntersectionBase< GridImp >::twistInInside | ( | ) | const [inline] |
Referenced by Dune::ALU2dGridIntersectionBase< GridImp >::twistInSelf().
| int Dune::ALU2dGridIntersectionBase< GridImp >::twistInNeighbor | ( | ) | const [inline] |
| int Dune::ALU2dGridIntersectionBase< GridImp >::twistInOutside | ( | ) | const [inline] |
References ALU2DSPACE, Dune::mixed, and ALU2DSPACENAME::triangle.
Referenced by Dune::ALU2dGridIntersectionBase< GridImp >::twistInNeighbor().
| int Dune::ALU2dGridIntersectionBase< GridImp >::twistInSelf | ( | ) | const [inline] |
| GeometryType Dune::ALU2dGridIntersectionBase< GridImp >::type | ( | ) | const [inline] |
obtain the type of reference element for this intersection
References ALU2DSPACE, and ALU2DSPACENAME::triangle.
| ALU2dGridIntersectionBase< GridImp >::NormalType Dune::ALU2dGridIntersectionBase< GridImp >::unitOuterNormal | ( | const LocalCoordinate & | local | ) | const [inline] |
| void Dune::ALU2dGridIntersectionBase< GridImp >::unsetUp2Date | ( | ) | [inline, protected] |
friend class IntersectionIteratorWrapper< GridImp, ThisType > [friend] |
friend class LeafIntersectionIteratorWrapper< GridImp > [friend] |
Reimplemented in Dune::ALU2dGridLeafIntersectionIterator< GridImp >.
friend class LevelIntersectionIteratorWrapper< GridImp > [friend] |
Reimplemented in Dune::ALU2dGridLevelIntersectionIterator< GridImp >.
struct Dune::ALU2dGridIntersectionBase::impl Dune::ALU2dGridIntersectionBase< GridImp >::current [protected] |
const FactoryType& Dune::ALU2dGridIntersectionBase< GridImp >::factory_ [protected] |
GeometryImpl Dune::ALU2dGridIntersectionBase< GridImp >::intersectionGlobal_ [mutable, protected] |
LocalGeometryImpl Dune::ALU2dGridIntersectionBase< GridImp >::intersectionNeighborLocal_ [mutable, protected] |
LocalGeometryImpl Dune::ALU2dGridIntersectionBase< GridImp >::intersectionSelfLocal_ [mutable, protected] |
const LocalGeometryStorageType& Dune::ALU2dGridIntersectionBase< GridImp >::localGeomStorage_ [protected] |
int Dune::ALU2dGridIntersectionBase< GridImp >::walkLevel_ [mutable, protected] |
1.7.6.1