- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#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 > ::ImplementationType | 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. | |
const LocalGeometry & | geometryInInside () const |
geometrical information about this intersection in local coordinates of the inside() entity. | |
const LocalGeometry & | geometryInOutside () const |
geometrical information about this intersection in local coordinates of the outside() entity. | |
const 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 Member Functions | |
ImplementationType & | getRealImp () |
return reference to the real implementation | |
const ImplementationType & | getRealImp () const |
return reference to the real implementation | |
Friends | |
class | GridDefaultImplementation< GridImp::dimension, GridImp::dimensionworld, typename GridImp::ctype, typename GridImp::GridFamily > |
give the GridDefaultImplementation class access to the realImp | |
class | IntersectionIterator< GridImp, IntersectionImp, IntersectionImp > |
YaspIntersectionIterator enables iteration over intersection with neighboring codim 0 entities.
typedef const GridImp ::template Codim<0>::Entity Dune::Intersection< const GridImp , Dune::YaspIntersection >::Entity [inherited] |
Type of entity that this Intersection belongs to.
typedef const GridImp ::template Codim<0>::EntityPointer Dune::Intersection< const GridImp , Dune::YaspIntersection >::EntityPointer [inherited] |
Pointer to the type of entities that this Intersection belongs to.
typedef const GridImp ::template Codim<1>::Geometry Dune::Intersection< const GridImp , Dune::YaspIntersection >::Geometry [inherited] |
Codim 1 geometry returned by geometry().
typedef Geometry::GlobalCoordinate Dune::Intersection< const GridImp , Dune::YaspIntersection >::GlobalCoordinate [inherited] |
global coordinate type used as parameter for the normals
typedef Dune::Intersection< const GridImp, Dune::YaspIntersection > ::ImplementationType Dune::MakeableInterfaceObject< Dune::Intersection< const GridImp, Dune::YaspIntersection > >::ImplementationType [inherited] |
Reimplemented from Dune::Intersection< const GridImp, Dune::YaspIntersection >.
typedef Dune::Intersection<const GridImp, Dune::YaspIntersection> Dune::YaspIntersectionIterator< GridImp >::Intersection |
typedef Geometry::LocalCoordinate Dune::Intersection< const GridImp , Dune::YaspIntersection >::LocalCoordinate [inherited] |
local coordinate type used as parameter for the normals
typedef const GridImp ::template Codim<1>::LocalGeometry Dune::Intersection< const GridImp , Dune::YaspIntersection >::LocalGeometry [inherited] |
Codim 1 geometry returned by geometryInInside and geometryInOutside().
typedef MakeableInterfaceObject<Intersection> Dune::YaspIntersectionIterator< GridImp >::MakeableIntersection |
typedef remove_const<const GridImp >::type Dune::Intersection< const GridImp , Dune::YaspIntersection >::mutableGridImp [inherited] |
anonymous enum [inherited] |
Export codim of intersection (always 1).
anonymous enum [inherited] |
Export grid dimension.
anonymous enum [inherited] |
Export dimension of the intersection.
anonymous enum [inherited] |
Export dimension of world.
Dune::YaspIntersectionIterator< GridImp >::YaspIntersectionIterator | ( | const YaspEntity< 0, dim, GridImp > & | myself, | |
bool | toend | |||
) | [inline] |
make intersection iterator from entity
Dune::YaspIntersectionIterator< GridImp >::YaspIntersectionIterator | ( | const YaspIntersectionIterator< GridImp > & | it | ) | [inline] |
copy constructor
bool Dune::Intersection< const GridImp , Dune::YaspIntersection >::boundary | ( | ) | const [inline, inherited] |
return true if intersection is with interior or exterior boundary (see the cases above)
int Dune::Intersection< const GridImp , Dune::YaspIntersection >::boundaryId | ( | ) | const [inline, inherited] |
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.
size_t Dune::Intersection< const GridImp , Dune::YaspIntersection >::boundarySegmentIndex | ( | ) | const [inline, inherited] |
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.
GlobalCoordinate Dune::Intersection< const GridImp , Dune::YaspIntersection >::centerUnitOuterNormal | ( | ) | const [inline, inherited] |
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.
bool Dune::Intersection< const GridImp , Dune::YaspIntersection >::conforming | ( | ) | const [inline, inherited] |
const Intersection& Dune::YaspIntersectionIterator< GridImp >::dereference | ( | ) | const [inline] |
dereferencing
bool Dune::YaspIntersectionIterator< GridImp >::equals | ( | const YaspIntersectionIterator< GridImp > & | other | ) | const [inline] |
equality
const Geometry& Dune::Intersection< const GridImp , Dune::YaspIntersection >::geometry | ( | ) | const [inline, inherited] |
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.
const LocalGeometry& Dune::Intersection< const GridImp , Dune::YaspIntersection >::geometryInInside | ( | ) | const [inline, inherited] |
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.
const LocalGeometry& Dune::Intersection< const GridImp , Dune::YaspIntersection >::geometryInOutside | ( | ) | const [inline, inherited] |
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.
ImplementationType& Dune::Intersection< const GridImp , Dune::YaspIntersection >::getRealImp | ( | ) | [inline, protected, inherited] |
return reference to the real implementation
const ImplementationType& Dune::Intersection< const GridImp , Dune::YaspIntersection >::getRealImp | ( | ) | const [inline, protected, inherited] |
return reference to the real implementation
void Dune::YaspIntersectionIterator< GridImp >::increment | ( | ) | [inline] |
increment
int Dune::Intersection< const GridImp , Dune::YaspIntersection >::indexInInside | ( | ) | const [inline, inherited] |
Local index of codim 1 entity in the inside() entity where intersection is contained in.
int Dune::Intersection< const GridImp , Dune::YaspIntersection >::indexInOutside | ( | ) | const [inline, inherited] |
Local index of codim 1 entity in outside() entity where intersection is contained in.
EntityPointer Dune::Intersection< const GridImp , Dune::YaspIntersection >::inside | ( | ) | const [inline, inherited] |
return EntityPointer to the Entity on the inside of this intersection. That is the Entity where we started this .
GlobalCoordinate Dune::Intersection< const GridImp , Dune::YaspIntersection >::integrationOuterNormal | ( | const LocalCoordinate & | local | ) | const [inline, inherited] |
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().bool Dune::Intersection< const GridImp , Dune::YaspIntersection >::neighbor | ( | ) | const [inline, inherited] |
return true if intersection is shared with another element.
YaspIntersectionIterator& Dune::YaspIntersectionIterator< GridImp >::operator= | ( | const YaspIntersectionIterator< GridImp > & | it | ) | [inline] |
assignment
GlobalCoordinate Dune::Intersection< const GridImp , Dune::YaspIntersection >::outerNormal | ( | const LocalCoordinate & | local | ) | const [inline, inherited] |
Return an outer normal (length not necessarily 1).
The returned vector may depend on local position within the intersection.
EntityPointer Dune::Intersection< const GridImp , Dune::YaspIntersection >::outside | ( | ) | const [inline, inherited] |
return EntityPointer to the Entity on the outside of this intersection. That is the neighboring Entity.
GeometryType Dune::Intersection< const GridImp , Dune::YaspIntersection >::type | ( | ) | const [inline, inherited] |
obtain the type of reference element for this intersection
GlobalCoordinate Dune::Intersection< const GridImp , Dune::YaspIntersection >::unitOuterNormal | ( | const LocalCoordinate & | local | ) | const [inline, inherited] |
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.
friend class GridDefaultImplementation< const GridImp ::dimension, const GridImp ::dimensionworld,typename const GridImp ::ctype,typename const GridImp ::GridFamily > [friend, inherited] |
give the GridDefaultImplementation class access to the realImp
friend class IntersectionIterator< const GridImp , Dune::YaspIntersection , Dune::YaspIntersection > [friend, inherited] |
give the pseudo IntersectionIterator class access to the realImp
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].