Dune Core Modules (2.11.0)

Dune::FoamGridIntersection< GridImp > Class Template Referenceabstract

Base class of all intersections within FoamGrid. More...

#include <dune/foamgrid/foamgrid/foamgridintersections.hh>

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
 
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

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.
 

Friends

template<typename , typename >
class Dune::Intersection
 

Detailed Description

template<class GridImp>
class Dune::FoamGridIntersection< GridImp >

Base class of all intersections within FoamGrid.

encapsulates common functionality of level and leaf intersections.

Member Function Documentation

◆ inside()

template<class GridImp >
Entity Dune::FoamGridIntersection< GridImp >::inside ( ) const
inline

return Entity on the inside of this intersection (that is the Entity where we started this Iterator)

◆ outside()

template<class GridImp >
Entity Dune::FoamGridIntersection< GridImp >::outside ( ) const
inline

return Entity on the outside of this intersection (that is the neighboring Entity)

References Dune::FoamGridIntersection< GridImp >::neighbor_.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Feb 14, 23:39, 2026)