dune-pdelab
2.0.0
|
Wrap intersection. More...
#include <dune/pdelab/common/geometrywrapper.hh>
Public Types | |
enum | { dimension =Entity::dimension } |
enum | { dimensionworld =Geometry::dimensionworld } |
typedef I::Geometry | Geometry |
typedef I::LocalGeometry | LocalGeometry |
typedef I::Entity | Entity |
typedef I::EntityPointer | EntityPointer |
typedef Geometry::ctype | ctype |
Public Member Functions | |
IntersectionGeometry (const I &i_, unsigned int index_) | |
int | insideDomainIndex () const |
int | outsideDomainIndex () const |
bool | boundary () const |
return true if intersection is with interior or exterior boundary (see the cases above) More... | |
int | boundaryId () const |
Identifier for boundary segment from macro grid. More... | |
bool | neighbor () const |
return true if intersection is shared with another element. More... | |
LocalGeometry | geometryInInside () const |
geometrical information about this intersection in local coordinates of the inside() entity. More... | |
LocalGeometry | geometryInOutside () const |
geometrical information about this intersection in local coordinates of the outside() entity. More... | |
Geometry | geometry () const |
geometrical information about this intersection in global coordinates. More... | |
int | indexInInside () const |
Local number of codim 1 entity in the inside() Entity where intersection is contained in. More... | |
int | indexInOutside () const |
Local number of codim 1 entity in outside() Entity where intersection is contained in. More... | |
Dune::FieldVector< ctype, dimensionworld > | outerNormal (const Dune::FieldVector< ctype, dimension-1 > &local) const |
Return an outer normal (length not necessarily 1) More... | |
Dune::FieldVector< ctype, dimensionworld > | integrationOuterNormal (const Dune::FieldVector< ctype, dimension-1 > &local) const |
return outer normal scaled with the integration element More... | |
Dune::FieldVector< ctype, dimensionworld > | unitOuterNormal (const Dune::FieldVector< ctype, dimension-1 > &local) const |
Return unit outer normal (length == 1) More... | |
Dune::FieldVector< ctype, dimensionworld > | centerUnitOuterNormal () const |
Return unit outer normal (length == 1) More... | |
EntityPointer | inside () const |
return EntityPointer to the Entity on the inside of this intersection. That is the Entity where we started this . More... | |
EntityPointer | insideHostEntity () const |
return EntityPointer to the Entity on the inside of this intersection. That is the Entity where we started this . More... | |
EntityPointer | outside () const |
return EntityPointer to the Entity on the outside of this intersection. That is the neighboring Entity. More... | |
const I & | intersection () const |
unsigned int | intersectionIndex () const |
Wrap intersection.
typedef Geometry::ctype Dune::PDELab::IntersectionGeometry< I >::ctype |
typedef I::Entity Dune::PDELab::IntersectionGeometry< I >::Entity |
typedef I::EntityPointer Dune::PDELab::IntersectionGeometry< I >::EntityPointer |
typedef I::Geometry Dune::PDELab::IntersectionGeometry< I >::Geometry |
typedef I::LocalGeometry Dune::PDELab::IntersectionGeometry< I >::LocalGeometry |
|
inline |
|
inline |
return true if intersection is with interior or exterior boundary (see the cases above)
|
inline |
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.
|
inline |
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.
|
inline |
geometrical information about this intersection in global coordinates.
This method returns a Geometry object that provides a mapping from local coordinates of the intersection to global (world) coordinates.
|
inline |
|
inline |
|
inline |
Local number of codim 1 entity in the inside() Entity where intersection is contained in.
|
inline |
Local number of codim 1 entity in outside() Entity 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 .
|
inline |
|
inline |
return EntityPointer to the Entity on the inside of this intersection. That is the Entity where we started this .
|
inline |
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().
|
inline |
Referenced by Dune::PDELab::BoundaryConditionType_Transport< T >::evaluate().
|
inline |
|
inline |
return true if intersection is shared with another element.
|
inline |
Return an outer normal (length not necessarily 1)
The returned vector may depend on local position within the intersection.
|
inline |
return EntityPointer to the Entity on the outside of this intersection. That is the neighboring Entity.
|
inline |
|
inline |
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.