dune-grid
2.4.1
|
YaspIntersection provides data about intersection with neighboring codim 0 entities. More...
#include <dune/grid/yaspgrid.hh>
Public Types | |
typedef GridImp::YGridLevelIterator | YGLI |
typedef GridImp::YGrid::Iterator | I |
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 |
Public Member Functions | |
void | update () |
bool | boundary () const |
bool | neighbor () const |
return true if neighbor across intersection exists in this processor More... | |
bool | conforming () const |
Yasp is always conform. More... | |
Entity | inside () const |
Entity | outside () const |
return EntityPointer to the Entity on the outside of this intersection More... | |
int | boundarySegmentIndex () const |
FieldVector< ctype, dimworld > | outerNormal (const FieldVector< ctype, dim-1 > &local) const |
return unit outer normal, this should be dependent on local coordinates for higher order boundary More... | |
FieldVector< ctype, dimworld > | unitOuterNormal (const FieldVector< ctype, dim-1 > &local) const |
return unit outer normal, this should be dependent on local coordinates for higher order boundary More... | |
FieldVector< ctype, dimworld > | centerUnitOuterNormal () const |
return unit outer normal at center of intersection geometry More... | |
FieldVector< ctype, dimworld > | integrationOuterNormal (const FieldVector< ctype, dim-1 > &local) const |
LocalGeometry | geometryInInside () const |
LocalGeometry | geometryInOutside () const |
Geometry | geometry () const |
GeometryType | type () const |
obtain the type of reference element for this intersection More... | |
int | indexInInside () const |
local index of codim 1 entity in self where intersection is contained in More... | |
int | indexInOutside () const |
local index of codim 1 entity in neighbor where intersection is contained in More... | |
YaspIntersection () | |
YaspIntersection (const YaspEntity< 0, dim, GridImp > &myself, bool toend) | |
make intersection iterator from entity, initialize to first neighbor More... | |
void | assign (const YaspIntersection &it) |
copy constructor – use default More... | |
bool | equals (const YaspIntersection &other) const |
YaspIntersection provides data about intersection with neighboring codim 0 entities.
typedef GridImp::template Codim<0>::Entity Dune::YaspIntersection< GridImp >::Entity |
typedef GridImp::template Codim<0>::EntityPointer Dune::YaspIntersection< GridImp >::EntityPointer |
typedef GridImp::template Codim<1>::Geometry Dune::YaspIntersection< GridImp >::Geometry |
typedef GridImp::YGrid::Iterator Dune::YaspIntersection< GridImp >::I |
typedef GridImp::template Codim<1>::LocalGeometry Dune::YaspIntersection< GridImp >::LocalGeometry |
typedef GridImp::YGridLevelIterator Dune::YaspIntersection< GridImp >::YGLI |
|
inline |
|
inline |
make intersection iterator from entity, initialize to first neighbor
References Dune::YaspEntity< codim, dim, GridImp >::transformingsubiterator().
|
inline |
copy constructor – use default
copy operator - use default
|
inline |
return true if we are on the boundary of the domain unless we are periodic in that direction
References Dune::YaspEntity< codim, dim, GridImp >::gridlevel(), and Dune::YaspEntity< codim, dim, GridImp >::transformingsubiterator().
Referenced by Dune::YaspIntersection< GridImp >::boundarySegmentIndex().
|
inline |
identifier for boundary segment from macro grid (attach your boundary condition as needed)
References Dune::YaspIntersection< GridImp >::boundary(), Dune::YaspEntity< codim, dim, GridImp >::gridlevel(), Dune::YaspEntity< codim, dim, GridImp >::level(), and Dune::YaspEntity< codim, dim, GridImp >::transformingsubiterator().
|
inline |
return unit outer normal at center of intersection geometry
|
inline |
Yasp is always conform.
|
inline |
|
inline |
intersection of codimension 1 of this neighbor with element where iteration started.
References Dune::YaspEntity< codim, dim, GridImp >::gridlevel(), and Dune::YaspEntity< codim, dim, GridImp >::transformingsubiterator().
Referenced by Dune::YaspIntersection< GridImp >::integrationOuterNormal().
|
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.
|
inline |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor
|
inline |
local index of codim 1 entity in self where intersection is contained in
|
inline |
local index of codim 1 entity in neighbor where intersection is contained in
|
inline |
return EntityPointer to the Entity on the inside of this intersection (that is the Entity where we started this Iterator)
|
inline |
return unit outer normal, this should be dependent on local coordinates for higher order boundary the normal is scaled with the integration element of the intersection.
References Dune::YaspIntersection< GridImp >::geometry().
|
inline |
return true if neighbor across intersection exists in this processor
References Dune::YaspEntity< codim, dim, GridImp >::gridlevel(), and Dune::YaspEntity< codim, dim, GridImp >::transformingsubiterator().
|
inline |
return unit outer normal, this should be dependent on local coordinates for higher order boundary
|
inline |
return EntityPointer to the Entity on the outside of this intersection
|
inline |
obtain the type of reference element for this intersection
References Dune::cube.
|
inline |
return unit outer normal, this should be dependent on local coordinates for higher order boundary
|
inline |
References dist(), and Dune::YaspEntity< codim, dim, GridImp >::transformingsubiterator().