#include <Intersection.hpp>

Inheritance diagram for Dune::cpgrid::IntersectionIterator:
Inheritance graph

Public Types

typedef cpgrid::Intersection Intersection
 
enum  { dimension = 3 }
 
enum  { dimensionworld = 3 }
 
typedef cpgrid::Entity< 0 > Entity
 
typedef cpgrid::Geometry< 2, 3 > Geometry
 
typedef cpgrid::Geometry< 2, 3 > LocalGeometry
 
typedef double ctype
 
typedef FieldVector< ctype, 2 > LocalCoordinate
 
typedef FieldVector< ctype, 3 > GlobalCoordinate
 

Public Member Functions

 IntersectionIterator ()
 
 IntersectionIterator (const CpGridData &grid, const EntityRep< 0 > &cell, bool at_end)
 
IntersectionIteratoroperator++ ()
 
const Intersectionoperator-> () const
 
const Intersectionoperator* () const
 
bool operator== (const Intersection &other) const
 
bool operator!= (const Intersection &other) const
 
bool boundary () const
 
int boundaryId () const
 Returns the boundary id of this intersection. More...
 
int boundarySegmentIndex () const
 Returns the boundary segment index of this intersection. More...
 
bool neighbor () const
 
Entity inside () const
 
Entity outside () const
 
bool conforming () const
 
const LocalGeometrygeometryInInside () const
 
const LocalGeometrygeometryInOutside () const
 
Geometry geometry () const
 
GeometryType type () const
 
int indexInInside () const
 
int indexInOutside () const
 
FieldVector< ctype, 3 > outerNormal (const FieldVector< ctype, 2 > &) const
 
FieldVector< ctype, 3 > integrationOuterNormal (const FieldVector< ctype, 2 > &unused) const
 
FieldVector< ctype, 3 > unitOuterNormal (const FieldVector< ctype, 2 > &) const
 
FieldVector< ctype, 3 > centerUnitOuterNormal () const
 
int id () const
 

Protected Member Functions

void increment ()
 
void update ()
 
void setAtEnd ()
 
bool isAtEnd () const
 
int nbcell () const
 

Protected Attributes

const CpGridDatapgrid_
 
int index_
 
int subindex_
 
OrientedEntityTable< 0, 1 >::row_type faces_of_cell_
 
int nbcell_
 
bool is_on_boundary_
 

Member Typedef Documentation

◆ ctype

typedef double Dune::cpgrid::Intersection::ctype
inherited

◆ Entity

◆ Geometry

◆ GlobalCoordinate

typedef FieldVector<ctype, 3> Dune::cpgrid::Intersection::GlobalCoordinate
inherited

◆ Intersection

◆ LocalCoordinate

typedef FieldVector<ctype, 2> Dune::cpgrid::Intersection::LocalCoordinate
inherited

◆ LocalGeometry

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
dimension 

◆ anonymous enum

anonymous enum
inherited
Enumerator
dimensionworld 

Constructor & Destructor Documentation

◆ IntersectionIterator() [1/2]

Dune::cpgrid::IntersectionIterator::IntersectionIterator ( )
inline

◆ IntersectionIterator() [2/2]

Dune::cpgrid::IntersectionIterator::IntersectionIterator ( const CpGridData grid,
const EntityRep< 0 > &  cell,
bool  at_end 
)
inline

Member Function Documentation

◆ boundary()

bool Dune::cpgrid::Intersection::boundary ( ) const
inlineinherited

◆ boundaryId()

int Dune::cpgrid::Intersection::boundaryId ( ) const
inherited

Returns the boundary id of this intersection.

◆ boundarySegmentIndex()

int Dune::cpgrid::Intersection::boundarySegmentIndex ( ) const
inherited

Returns the boundary segment index of this intersection.

◆ centerUnitOuterNormal()

FieldVector< ctype, 3 > Dune::cpgrid::Intersection::centerUnitOuterNormal ( ) const
inherited
Parameters

return

◆ conforming()

bool Dune::cpgrid::Intersection::conforming ( ) const
inlineinherited

◆ geometry()

Geometry Dune::cpgrid::Intersection::geometry ( ) const
inherited
Returns

Referenced by Dune::cpgrid::Intersection::type().

◆ geometryInInside()

const LocalGeometry & Dune::cpgrid::Intersection::geometryInInside ( ) const
inlineinherited
Returns

◆ geometryInOutside()

const LocalGeometry & Dune::cpgrid::Intersection::geometryInOutside ( ) const
inlineinherited

◆ id()

int Dune::cpgrid::Intersection::id ( ) const
inlineinherited

◆ increment()

void Dune::cpgrid::Intersection::increment ( )
protectedinherited

Referenced by operator++().

◆ indexInInside()

int Dune::cpgrid::Intersection::indexInInside ( ) const
inherited

Local index of codim 1 entity in the inside() entity where intersection is contained in.

Referenced by Dune::cpgrid::Intersection::indexInOutside().

◆ indexInOutside()

int Dune::cpgrid::Intersection::indexInOutside ( ) const
inlineinherited

Local index of codim 1 entity in outside() entity where intersection is contained in.

References Dune::cpgrid::Intersection::indexInInside().

◆ inside()

Entity Dune::cpgrid::Intersection::inside ( ) const
inherited
Returns

◆ integrationOuterNormal()

FieldVector< ctype, 3 > Dune::cpgrid::Intersection::integrationOuterNormal ( const FieldVector< ctype, 2 > &  unused) const
inherited
Parameters

return

◆ isAtEnd()

bool Dune::cpgrid::Intersection::isAtEnd ( ) const
inlineprotectedinherited

◆ nbcell()

int Dune::cpgrid::Intersection::nbcell ( ) const
inlineprotectedinherited

◆ neighbor()

bool Dune::cpgrid::Intersection::neighbor ( ) const
inlineinherited

◆ operator!=()

bool Dune::cpgrid::Intersection::operator!= ( const Intersection other) const
inlineinherited
Parameters

return

References Dune::cpgrid::Intersection::operator==().

◆ operator*()

const Intersection & Dune::cpgrid::IntersectionIterator::operator* ( ) const
inline

◆ operator++()

IntersectionIterator & Dune::cpgrid::IntersectionIterator::operator++ ( )
inline

◆ operator->()

const Intersection * Dune::cpgrid::IntersectionIterator::operator-> ( ) const
inline

◆ operator==()

bool Dune::cpgrid::Intersection::operator== ( const Intersection other) const
inlineinherited

◆ outerNormal()

FieldVector< ctype, 3 > Dune::cpgrid::Intersection::outerNormal ( const FieldVector< ctype, 2 > &  ) const
inherited
Parameters

return

◆ outside()

Entity Dune::cpgrid::Intersection::outside ( ) const
inherited
Returns

◆ setAtEnd()

◆ type()

GeometryType Dune::cpgrid::Intersection::type ( ) const
inlineinherited

◆ unitOuterNormal()

FieldVector< ctype, 3 > Dune::cpgrid::Intersection::unitOuterNormal ( const FieldVector< ctype, 2 > &  ) const
inherited
Parameters

return

◆ update()

void Dune::cpgrid::Intersection::update ( )
protectedinherited

Referenced by IntersectionIterator().

Member Data Documentation

◆ faces_of_cell_

OrientedEntityTable<0,1>::row_type Dune::cpgrid::Intersection::faces_of_cell_
protectedinherited

◆ index_

int Dune::cpgrid::Intersection::index_
protectedinherited

◆ is_on_boundary_

bool Dune::cpgrid::Intersection::is_on_boundary_
protectedinherited

◆ nbcell_

int Dune::cpgrid::Intersection::nbcell_
protectedinherited

◆ pgrid_

const CpGridData* Dune::cpgrid::Intersection::pgrid_
protectedinherited

◆ subindex_


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