dune-grid
2.1.1
|
#include <dune/grid/yaspgrid.hh>
Classes | |
struct | faceInfo |
Public Types | |
typedef MultiYGrid< dim, ctype > ::YGridLevelIterator | YGLI |
typedef SubYGrid< dim, ctype > ::TransformingSubIterator | TSI |
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 |
typedef YaspSpecialEntity < 0, dim, GridImp > | SpecialEntity |
typedef YaspSpecialGeometry < dim-1, dimworld, GridImp > | SpecialGeometry |
typedef YaspSpecialGeometry < dim-1, dim, GridImp > | SpecialLocalGeometry |
typedef Dune::Intersection < const GridImp, Dune::YaspIntersectionIterator > | Intersection |
Public Member Functions | |
void | update () const |
void | update () |
void | increment () |
increment | |
bool | equals (const YaspIntersection &other) const |
equality | |
bool | boundary () const |
bool | neighbor () const |
return true if neighbor across intersection exists in this processor | |
bool | conforming () const |
Yasp is always conform. | |
EntityPointer | inside () const |
EntityPointer | outside () const |
int | boundaryId () const |
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 | |
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 | |
FieldVector< ctype, dimworld > | centerUnitOuterNormal () const |
return unit outer normal at center of intersection geometry | |
FieldVector< ctype, dimworld > | integrationOuterNormal (const FieldVector< ctype, dim-1 > &local) const |
const LocalGeometry & | geometryInInside () const |
const LocalGeometry & | geometryInOutside () const |
const Geometry & | geometry () const |
GeometryType | type () const |
obtain the type of reference element for this intersection | |
int | indexInInside () const |
local index of codim 1 entity in self where intersection is contained in | |
int | indexInOutside () const |
local index of codim 1 entity in neighbor where intersection is contained in | |
YaspIntersection (const YaspEntity< 0, dim, GridImp > &myself, bool toend) | |
make intersection iterator from entity, initialize to first neighbor | |
YaspIntersection (const YaspIntersection &it) | |
copy constructor | |
void | assign (const YaspIntersection &it) |
copy operator |
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 Dune::Intersection<const GridImp, Dune::YaspIntersectionIterator> Dune::YaspIntersection< GridImp >::Intersection |
typedef GridImp::template Codim<1>::LocalGeometry Dune::YaspIntersection< GridImp >::LocalGeometry |
typedef YaspSpecialEntity<0,dim,GridImp> Dune::YaspIntersection< GridImp >::SpecialEntity |
typedef YaspSpecialGeometry<dim-1,dimworld,GridImp> Dune::YaspIntersection< GridImp >::SpecialGeometry |
typedef YaspSpecialGeometry<dim-1,dim,GridImp> Dune::YaspIntersection< GridImp >::SpecialLocalGeometry |
typedef SubYGrid<dim,ctype>::TransformingSubIterator Dune::YaspIntersection< GridImp >::TSI |
typedef MultiYGrid<dim,ctype>::YGridLevelIterator Dune::YaspIntersection< GridImp >::YGLI |
Dune::YaspIntersection< GridImp >::YaspIntersection | ( | const YaspEntity< 0, dim, GridImp > & | myself, |
bool | toend | ||
) | [inline] |
make intersection iterator from entity, initialize to first neighbor
Dune::YaspIntersection< GridImp >::YaspIntersection | ( | const YaspIntersection< GridImp > & | it | ) | [inline] |
copy constructor
void Dune::YaspIntersection< GridImp >::assign | ( | const YaspIntersection< GridImp > & | it | ) | [inline] |
copy operator
bool Dune::YaspIntersection< GridImp >::boundary | ( | ) | const [inline] |
return true if neighbor ist outside the domain. Still the neighbor might exist in case of periodic boundary conditions, i.e. true is returned if the neighbor is outside the periodic unit cell
Referenced by Dune::YaspIntersection< const const GridImp >::boundaryId(), and Dune::YaspIntersection< const const GridImp >::boundarySegmentIndex().
int Dune::YaspIntersection< GridImp >::boundaryId | ( | ) | const [inline] |
identifier for boundary segment from macro grid (attach your boundary condition as needed)
int Dune::YaspIntersection< GridImp >::boundarySegmentIndex | ( | ) | const [inline] |
identifier for boundary segment from macro grid (attach your boundary condition as needed)
FieldVector<ctype, dimworld> Dune::YaspIntersection< GridImp >::centerUnitOuterNormal | ( | ) | const [inline] |
return unit outer normal at center of intersection geometry
bool Dune::YaspIntersection< GridImp >::conforming | ( | ) | const [inline] |
Yasp is always conform.
bool Dune::YaspIntersection< GridImp >::equals | ( | const YaspIntersection< GridImp > & | other | ) | const [inline] |
equality
const Geometry& Dune::YaspIntersection< GridImp >::geometry | ( | ) | const [inline] |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor
Referenced by Dune::YaspIntersection< const const GridImp >::integrationOuterNormal().
const LocalGeometry& Dune::YaspIntersection< 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::YaspIntersection< 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
void Dune::YaspIntersection< GridImp >::increment | ( | ) | [inline] |
increment
int Dune::YaspIntersection< GridImp >::indexInInside | ( | ) | const [inline] |
local index of codim 1 entity in self where intersection is contained in
Referenced by Dune::YaspIntersection< const const GridImp >::boundaryId().
int Dune::YaspIntersection< GridImp >::indexInOutside | ( | ) | const [inline] |
local index of codim 1 entity in neighbor where intersection is contained in
EntityPointer Dune::YaspIntersection< 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, dimworld> Dune::YaspIntersection< GridImp >::integrationOuterNormal | ( | const FieldVector< ctype, dim-1 > & | local | ) | const [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.
bool Dune::YaspIntersection< GridImp >::neighbor | ( | ) | const [inline] |
return true if neighbor across intersection exists in this processor
FieldVector<ctype, dimworld> Dune::YaspIntersection< GridImp >::outerNormal | ( | const FieldVector< ctype, dim-1 > & | local | ) | const [inline] |
return unit outer normal, this should be dependent on local coordinates for higher order boundary
EntityPointer Dune::YaspIntersection< GridImp >::outside | ( | ) | const [inline] |
return EntityPointer to the Entity on the outside of this intersection (that is the neighboring Entity)
GeometryType Dune::YaspIntersection< GridImp >::type | ( | ) | const [inline] |
obtain the type of reference element for this intersection
FieldVector<ctype, dimworld> Dune::YaspIntersection< GridImp >::unitOuterNormal | ( | const FieldVector< ctype, dim-1 > & | local | ) | const [inline] |
return unit outer normal, this should be dependent on local coordinates for higher order boundary
void Dune::YaspIntersection< GridImp >::update | ( | ) | const [inline] |
Referenced by Dune::YaspIntersection< const const GridImp >::boundary(), Dune::YaspIntersection< const const GridImp >::boundarySegmentIndex(), Dune::YaspIntersection< const const GridImp >::geometry(), Dune::YaspIntersection< const const GridImp >::neighbor(), Dune::YaspIntersection< const const GridImp >::outside(), and Dune::YaspIntersection< const const GridImp >::update().
void Dune::YaspIntersection< GridImp >::update | ( | ) | [inline] |