dune-foamgrid 2.8.0
|
Base class of all intersections within FoamGrid. More...
#include <dune/foamgrid/foamgrid/foamgridintersections.hh>
Public Types | |
typedef GridImp::template Codim< 0 >::Entity | Entity |
Public Member Functions | |
Entity | inside () const |
Entity | outside () const |
bool | equals (const FoamGridIntersection< GridImp > &i) const |
equality | |
bool | boundary () const |
return true if intersection is with boundary. | |
int | boundarySegmentIndex () const |
return information about the Boundary | |
GeometryType | type () const |
Geometry type of an intersection. | |
int | indexInInside () const |
local number of codim 1 entity in self where intersection is contained in | |
virtual int | indexInOutside (std::size_t neighborIndex=0) const =0 |
FieldVector< ctype, dimworld > | outerNormal (const FieldVector< ctype, dimgrid-1 > &local) const |
return outer normal | |
FieldVector< ctype, dimworld > | integrationOuterNormal (const FieldVector< ctype, dimgrid-1 > &local) const |
return outer normal multiplied by the integration element | |
FieldVector< ctype, dimworld > | unitOuterNormal (const FieldVector< ctype, dimgrid-1 > &local) const |
return unit outer normal | |
FieldVector< ctype, dimworld > | centerUnitOuterNormal () const |
return unit outer normal at the intersection center | |
Protected Attributes | |
const FoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > * | center_ |
int | facetIndex_ |
Count on which facet we are lookin' at. | |
std::vector< constFoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > * >::const_iterator | neighbor_ |
Iterator to the other neighbor of the intersection. | |
Base class of all intersections within FoamGrid.
encapsulates common functionality of level and leaf intersections.
typedef GridImp::template Codim<0>::Entity Dune::FoamGridIntersection< GridImp >::Entity |
|
inline |
return true if intersection is with boundary.
|
inline |
return information about the Boundary
|
inline |
return unit outer normal at the intersection center
|
inline |
equality
|
inline |
local number of codim 1 entity in self where intersection is contained in
|
pure virtual |
Implemented in Dune::FoamGridLevelIntersection< GridImp >, and Dune::FoamGridLeafIntersection< GridImp >.
|
inline |
return Entity on the inside of this intersection (that is the Entity where we started this Iterator)
|
inline |
return outer normal multiplied by the integration element
|
inline |
return outer normal
|
inline |
return Entity on the outside of this intersection (that is the neighboring Entity)
|
inline |
Geometry type of an intersection.
|
inline |
return unit outer normal
|
protected |
|
protected |
Count on which facet we are lookin' at.
|
protected |
Iterator to the other neighbor of the intersection.