dune-grid
2.2.0
|
#include <dune/grid/yaspgrid.hh>
Public Types | |
typedef Dune::Intersection < const GridImp, Dune::YaspIntersection > | Intersection |
typedef MakeableInterfaceObject < Intersection > | MakeableIntersection |
typedef Dune::Intersection < const GridImp, Dune::YaspIntersection > ::Implementation | ImplementationType |
enum | |
Export codim of intersection (always 1) More... | |
enum | |
Export grid dimension. More... | |
enum | |
Export dimension of the intersection. More... | |
enum | |
Export dimension of world. More... | |
typedef const GridImp::template Codim < 0 >::Entity | Entity |
Type of entity that this Intersection belongs to. | |
typedef const GridImp::template Codim < 0 >::EntityPointer | EntityPointer |
Pointer to the type of entities that this Intersection belongs to. | |
typedef const GridImp::template Codim < 1 >::Geometry | Geometry |
Codim 1 geometry returned by geometry() | |
typedef Geometry::LocalCoordinate | LocalCoordinate |
local coordinate type used as parameter for the normals | |
typedef Geometry::GlobalCoordinate | GlobalCoordinate |
global coordinate type used as parameter for the normals | |
typedef const GridImp::template Codim < 1 >::LocalGeometry | LocalGeometry |
Codim 1 geometry returned by geometryInInside and geometryInOutside() | |
typedef remove_const< const GridImp >::type | mutableGridImp |
Public Member Functions | |
void | increment () |
increment | |
bool | equals (const YaspIntersectionIterator &other) const |
equality | |
const Intersection & | dereference () const |
dereferencing | |
YaspIntersectionIterator (const YaspEntity< 0, dim, GridImp > &myself, bool toend) | |
make intersection iterator from entity | |
YaspIntersectionIterator (const YaspIntersectionIterator &it) | |
copy constructor | |
YaspIntersectionIterator & | operator= (const YaspIntersectionIterator &it) |
assignment | |
bool | boundary () const |
return true if intersection is with interior or exterior boundary (see the cases above) | |
int | boundaryId () const |
Identifier for boundary segment from macro grid. | |
size_t | boundarySegmentIndex () const |
index of the boundary segment within the macro grid | |
bool | neighbor () const |
return true if intersection is shared with another element. | |
EntityPointer | inside () const |
return EntityPointer to the Entity on the inside of this intersection. That is the Entity where we started this . | |
EntityPointer | outside () const |
return EntityPointer to the Entity on the outside of this intersection. That is the neighboring Entity. | |
bool | conforming () const |
return true if intersection is conform. | |
LocalGeometry | geometryInInside () const |
geometrical information about this intersection in local coordinates of the inside() entity. | |
LocalGeometry | geometryInOutside () const |
geometrical information about this intersection in local coordinates of the outside() entity. | |
Geometry | geometry () const |
geometrical information about the intersection in global coordinates. | |
GeometryType | type () const |
obtain the type of reference element for this intersection | |
int | indexInInside () const |
Local index of codim 1 entity in the inside() entity where intersection is contained in. | |
int | indexInOutside () const |
Local index of codim 1 entity in outside() entity where intersection is contained in. | |
GlobalCoordinate | outerNormal (const LocalCoordinate &local) const |
Return an outer normal (length not necessarily 1) | |
GlobalCoordinate | integrationOuterNormal (const LocalCoordinate &local) const |
return outer normal scaled with the integration element | |
GlobalCoordinate | unitOuterNormal (const LocalCoordinate &local) const |
Return unit outer normal (length == 1) | |
GlobalCoordinate | centerUnitOuterNormal () const |
Return unit outer normal (length == 1) |
Protected Types | |
enum | |
enum | |
typedef Dune::YaspIntersection < const const GridImp > | Implementation |
Protected Member Functions | |
Implementation & | impl () |
return reference to the real implementation | |
const Implementation & | impl () const |
return reference to the real implementation |
Protected Attributes | |
Implementation | real |
YaspIntersectionIterator enables iteration over intersection with neighboring codim 0 entities.
|
inherited |
Type of entity that this Intersection belongs to.
|
inherited |
Pointer to the type of entities that this Intersection belongs to.
|
inherited |
Codim 1 geometry returned by geometry()
|
inherited |
global coordinate type used as parameter for the normals
|
protectedinherited |
|
inherited |
typedef Dune::Intersection<const GridImp, Dune::YaspIntersection> Dune::YaspIntersectionIterator< GridImp >::Intersection |
|
inherited |
local coordinate type used as parameter for the normals
|
inherited |
Codim 1 geometry returned by geometryInInside and geometryInOutside()
typedef MakeableInterfaceObject<Intersection> Dune::YaspIntersectionIterator< GridImp >::MakeableIntersection |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
Export codim of intersection (always 1)
|
inherited |
Export grid dimension.
|
inherited |
Export dimension of the intersection.
|
inherited |
Export dimension of world.
|
inline |
make intersection iterator from entity
|
inline |
copy constructor
|
inlineinherited |
return true if intersection is with interior or exterior boundary (see the cases above)
|
inlineinherited |
Identifier for boundary segment from macro grid.
One can attach a boundary Id to a boundary segment on the macro grid. This Id will also be used for all fragments of these boundary segments.
The numbering is defined as:
The way the Identifiers are attached to the grid may differ between the different grid implementations.
|
inlineinherited |
index of the boundary segment within the macro grid
In many applications, special data needs to be attached to the boundary segments of the macro grid (e.g., a function selecting the boundary condition). Usually, this data is inherited by the children of the boundary segment.
In the DUNE framework, data is stored in arrays, addressed by an index, in this case the boundarySegmentIndex. The size of these arrays can be obtained by the Grid::numBoundarySegments.
|
inlineinherited |
Return unit outer normal (length == 1)
The returned vector is the normal at the center() of the intersection's geometry. It is scaled to have unit length.
|
inlineinherited |
|
inline |
dereferencing
|
inline |
equality
|
inlineinherited |
geometrical information about the intersection in global coordinates.
This method returns a Geometry object that provides a mapping from local coordinates of the intersection to global (world) coordinates.
|
inlineinherited |
geometrical information about this intersection in local coordinates of the inside() entity.
This method returns a Geometry object that provides a mapping from local coordinates of the intersection to local coordinates of the inside() entity.
|
inlineinherited |
geometrical information about this intersection in local coordinates of the outside() entity.
This method returns a Geometry object that provides a mapping from local coordinates of the intersection to local coordinates of the outside() entity.
|
inlineprotectedinherited |
return reference to the real implementation
|
inlineprotectedinherited |
return reference to the real implementation
|
inline |
increment
|
inlineinherited |
Local index of codim 1 entity in the inside() entity where intersection is contained in.
|
inlineinherited |
Local index of codim 1 entity in outside() entity where intersection is contained in.
|
inlineinherited |
return EntityPointer to the Entity on the inside of this intersection. That is the Entity where we started this .
|
inlineinherited |
return outer normal scaled with the integration element
Return an outer normal (length not necessarily 1) The returned vector may depend on local position within the intersection. The normal is scaled with the integration element of the intersection. This method is redundant but it may be more efficent to use this function rather than computing the integration element via intersectionGlobal().
|
inlineinherited |
return true if intersection is shared with another element.
|
inline |
assignment
|
inlineinherited |
Return an outer normal (length not necessarily 1)
The returned vector may depend on local position within the intersection.
|
inlineinherited |
return EntityPointer to the Entity on the outside of this intersection. That is the neighboring Entity.
|
inlineinherited |
obtain the type of reference element for this intersection
|
inlineinherited |
Return unit outer normal (length == 1)
The returned vector may depend on the local position within the intersection. It is scaled to have unit length.
|
protectedinherited |