- Home
- About DUNE
- Download
- Documentation
- Community
- Development
An intersection with a leaf neighbor elementMesh entities of codimension 0 ("elements") allow to visit all neighbors, where a neighbor is an entity of codimension 0 which has a common entity of codimension 1 These neighbors are accessed via a IntersectionIterator. This allows the implement non-matching meshes. The number of neighbors may be different from the number of an element! More...
#include <dune/grid/identitygrid/identitygridintersections.hh>
Public Types | |
typedef GridImp::template Codim< 0 >::EntityPointer | EntityPointer |
typedef GridImp::template Codim< 1 >::Geometry | Geometry |
typedef GridImp::template Codim< 1 >::LocalGeometry | LocalGeometry |
typedef GridImp::template Codim< 0 >::Entity | Entity |
typedef FieldVector< ctype, dimworld > | NormalVector |
Public Member Functions | |
IdentityGridLeafIntersection (const GridImp *identityGrid, const HostLeafIntersectionIterator &hostIterator) | |
EntityPointer | inside () const |
EntityPointer | outside () const |
bool | boundary () const |
return true if intersection is with boundary. | |
NormalVector | centerUnitOuterNormal () const |
Return unit outer normal (length == 1). | |
bool | neighbor () const |
return true if across the edge an neighbor on this level exists | |
int | boundaryId () const |
return information about the Boundary | |
size_t | boundarySegmentIndex () const |
return the boundary segment index | |
bool | conforming () const |
Return true if this is a conforming intersection. | |
GeometryType | type () const |
Geometry type of an intersection. | |
const LocalGeometry & | geometryInInside () const |
const LocalGeometry & | geometryInOutside () const |
const Geometry & | geometry () const |
int | indexInInside () const |
local number of codim 1 entity in self where intersection is contained in | |
int | indexInOutside () const |
local number of codim 1 entity in neighbor where intersection is contained | |
FieldVector< ctype, GridImp::dimensionworld > | outerNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const |
return outer normal | |
FieldVector< ctype, GridImp::dimensionworld > | integrationOuterNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const |
return outer normal multiplied by the integration element | |
FieldVector< ctype, GridImp::dimensionworld > | unitOuterNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const |
return unit outer normal | |
Friends | |
class | IdentityGridLeafIntersectionIterator< GridImp > |
class | HostGridAccess< typename remove_const< GridImp >::type > |
An intersection with a leaf neighbor element
Mesh entities of codimension 0 ("elements") allow to visit all neighbors, where a neighbor is an entity of codimension 0 which has a common entity of codimension 1 These neighbors are accessed via a IntersectionIterator. This allows the implement non-matching meshes. The number of neighbors may be different from the number of an element!
typedef GridImp::template Codim<0>::Entity Dune::IdentityGridLeafIntersection< GridImp >::Entity |
typedef GridImp::template Codim<0>::EntityPointer Dune::IdentityGridLeafIntersection< GridImp >::EntityPointer |
typedef GridImp::template Codim<1>::Geometry Dune::IdentityGridLeafIntersection< GridImp >::Geometry |
typedef GridImp::template Codim<1>::LocalGeometry Dune::IdentityGridLeafIntersection< GridImp >::LocalGeometry |
typedef FieldVector<ctype, dimworld> Dune::IdentityGridLeafIntersection< GridImp >::NormalVector |
Dune::IdentityGridLeafIntersection< GridImp >::IdentityGridLeafIntersection | ( | const GridImp * | identityGrid, | |
const HostLeafIntersectionIterator & | hostIterator | |||
) | [inline] |
bool Dune::IdentityGridLeafIntersection< GridImp >::boundary | ( | ) | const [inline] |
return true if intersection is with boundary.
int Dune::IdentityGridLeafIntersection< GridImp >::boundaryId | ( | ) | const [inline] |
return information about the Boundary
size_t Dune::IdentityGridLeafIntersection< GridImp >::boundarySegmentIndex | ( | ) | const [inline] |
return the boundary segment index
NormalVector Dune::IdentityGridLeafIntersection< GridImp >::centerUnitOuterNormal | ( | ) | const [inline] |
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::IdentityGridLeafIntersection< GridImp >::conforming | ( | ) | const [inline] |
Return true if this is a conforming intersection.
const Geometry& Dune::IdentityGridLeafIntersection< GridImp >::geometry | ( | ) | const [inline] |
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.
const LocalGeometry& Dune::IdentityGridLeafIntersection< GridImp >::geometryInInside | ( | ) | const [inline] |
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.
const LocalGeometry& Dune::IdentityGridLeafIntersection< GridImp >::geometryInOutside | ( | ) | const [inline] |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor
int Dune::IdentityGridLeafIntersection< GridImp >::indexInInside | ( | ) | const [inline] |
local number of codim 1 entity in self where intersection is contained in
int Dune::IdentityGridLeafIntersection< GridImp >::indexInOutside | ( | ) | const [inline] |
local number of codim 1 entity in neighbor where intersection is contained
EntityPointer Dune::IdentityGridLeafIntersection< GridImp >::inside | ( | ) | const [inline] |
return EntityPointer to the Entity on the inside of this intersection (that is the Entity where we started this Iterator)
FieldVector<ctype, GridImp::dimensionworld> Dune::IdentityGridLeafIntersection< GridImp >::integrationOuterNormal | ( | const FieldVector< ctype, GridImp::dimension-1 > & | local | ) | const [inline] |
return outer normal multiplied by the integration element
bool Dune::IdentityGridLeafIntersection< GridImp >::neighbor | ( | ) | const [inline] |
return true if across the edge an neighbor on this level exists
FieldVector<ctype, GridImp::dimensionworld> Dune::IdentityGridLeafIntersection< GridImp >::outerNormal | ( | const FieldVector< ctype, GridImp::dimension-1 > & | local | ) | const [inline] |
return outer normal
EntityPointer Dune::IdentityGridLeafIntersection< GridImp >::outside | ( | ) | const [inline] |
return EntityPointer to the Entity on the outside of this intersection (that is the neighboring Entity)
GeometryType Dune::IdentityGridLeafIntersection< GridImp >::type | ( | ) | const [inline] |
Geometry type of an intersection.
FieldVector<ctype, GridImp::dimensionworld> Dune::IdentityGridLeafIntersection< GridImp >::unitOuterNormal | ( | const FieldVector< ctype, GridImp::dimension-1 > & | local | ) | const [inline] |
return unit outer normal
friend class HostGridAccess< typename remove_const< GridImp >::type > [friend] |
friend class IdentityGridLeafIntersectionIterator< GridImp > [friend] |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].