dune-foamgrid 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::FoamGridIntersection< GridImp > Class Template Referenceabstract

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

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

Inheritance diagram for Dune::FoamGridIntersection< GridImp >:
Inheritance graph

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 More...
 
bool boundary () const
 return true if intersection is with boundary. More...
 
int boundarySegmentIndex () const
 return information about the Boundary More...
 
GeometryType type () const
 Geometry type of an intersection. More...
 
int indexInInside () const
 local number of codim 1 entity in self where intersection is contained in More...
 
virtual int indexInOutside (std::size_t neighborIndex=0) const =0
 
FieldVector< ctype, dimworld > outerNormal (const FieldVector< ctype, dimgrid-1 > &local) const
 return outer normal More...
 
FieldVector< ctype, dimworld > integrationOuterNormal (const FieldVector< ctype, dimgrid-1 > &local) const
 return outer normal multiplied by the integration element More...
 
FieldVector< ctype, dimworld > unitOuterNormal (const FieldVector< ctype, dimgrid-1 > &local) const
 return unit outer normal More...
 
FieldVector< ctype, dimworld > centerUnitOuterNormal () const
 return unit outer normal at the intersection center More...
 

Protected Attributes

const FoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > * center_
 
int facetIndex_
 Count on which facet we are lookin' at.
More...
 
std::vector< constFoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > * >::const_iterator neighbor_
 Iterator to the other neighbor of the intersection. More...
 

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

◆ Entity

template<class GridImp >
typedef GridImp::template Codim<0>::Entity Dune::FoamGridIntersection< GridImp >::Entity

Member Function Documentation

◆ boundary()

template<class GridImp >
bool Dune::FoamGridIntersection< GridImp >::boundary ( ) const
inline

return true if intersection is with boundary.

◆ boundarySegmentIndex()

template<class GridImp >
int Dune::FoamGridIntersection< GridImp >::boundarySegmentIndex ( ) const
inline

return information about the Boundary

◆ centerUnitOuterNormal()

template<class GridImp >
FieldVector< ctype, dimworld > Dune::FoamGridIntersection< GridImp >::centerUnitOuterNormal ( ) const
inline

return unit outer normal at the intersection center

◆ equals()

template<class GridImp >
bool Dune::FoamGridIntersection< GridImp >::equals ( const FoamGridIntersection< GridImp > &  i) const
inline

equality

◆ indexInInside()

template<class GridImp >
int Dune::FoamGridIntersection< GridImp >::indexInInside ( ) const
inline

local number of codim 1 entity in self where intersection is contained in

◆ indexInOutside()

template<class GridImp >
virtual int Dune::FoamGridIntersection< GridImp >::indexInOutside ( std::size_t  neighborIndex = 0) const
pure virtual

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

◆ integrationOuterNormal()

template<class GridImp >
FieldVector< ctype, dimworld > Dune::FoamGridIntersection< GridImp >::integrationOuterNormal ( const FieldVector< ctype, dimgrid-1 > &  local) const
inline

return outer normal multiplied by the integration element

◆ outerNormal()

template<class GridImp >
FieldVector< ctype, dimworld > Dune::FoamGridIntersection< GridImp >::outerNormal ( const FieldVector< ctype, dimgrid-1 > &  local) const
inline

return outer normal

◆ outside()

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

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

◆ type()

template<class GridImp >
GeometryType Dune::FoamGridIntersection< GridImp >::type ( ) const
inline

Geometry type of an intersection.

◆ unitOuterNormal()

template<class GridImp >
FieldVector< ctype, dimworld > Dune::FoamGridIntersection< GridImp >::unitOuterNormal ( const FieldVector< ctype, dimgrid-1 > &  local) const
inline

return unit outer normal

Member Data Documentation

◆ center_

template<class GridImp >
const FoamGridEntityImp<dimgrid, dimgrid, dimworld, ctype>* Dune::FoamGridIntersection< GridImp >::center_
protected

◆ facetIndex_

template<class GridImp >
int Dune::FoamGridIntersection< GridImp >::facetIndex_
protected

Count on which facet we are lookin' at.

◆ neighbor_

template<class GridImp >
std::vector<constFoamGridEntityImp<dimgrid,dimgrid,dimworld,ctype>*>::const_iterator Dune::FoamGridIntersection< GridImp >::neighbor_
protected

Iterator to the other neighbor of the intersection.


The documentation for this class was generated from the following file: