dune-grid  2.2.1
Public Types | Public Member Functions | List of all members
Dune::LevelIntersectionWrapper< GridImp > Class Template Reference

Class that wraps IntersectionIteratorImp of a grid and gets it's internal object from a object stack hold by the grid. More...

#include <dune/grid/alugrid/common/intersectioniteratorwrapper.hh>

Inheritance diagram for Dune::LevelIntersectionWrapper< GridImp >:
Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >

Public Types

enum  
 dimension More...
enum  
 dimensionworld More...
typedef
GridImp::GridObjectFactoryType 
FactoryType
typedef GridImp::ctype ctype
 define type used for coordinates in grid module
typedef GridImp::template
Codim< 0 >::Entity 
Entity
 Entity type.
typedef GridImp::template
Codim< 0 >::EntityPointer 
EntityPointer
 type of EntityPointer
typedef GridImp::template
Codim< 1 >::Geometry 
Geometry
 type of intersectionGlobal
typedef GridImp::template
Codim< 1 >::LocalGeometry 
LocalGeometry
 type of intersection*Local
typedef FieldVector< ctype,
dimworld > 
NormalType
 type of normal vector

Public Member Functions

template<class EntityImp >
 LevelIntersectionWrapper (const EntityImp &en, int wLevel, bool end)
 constructor called from the ibegin and iend method
 LevelIntersectionWrapper (const ThisType &org)
 The copy constructor.
bool equals (const ThisType &i) const
 the equality method
void increment ()
 increment iterator
EntityPointer outside () const
 access neighbor
EntityPointer inside () const
 access entity where iteration started
bool boundary () const
bool neighbor () const
 return true if across the intersection a neighbor on this level exists
int boundaryId () const
 return information about the Boundary
size_t boundarySegmentIndex () const
 return the boundary segment index
LocalGeometry geometryInInside () const
Geometry geometry () const
GeometryType type () const
 obtain the type of reference element for this intersection
int indexInInside () const
LocalGeometry geometryInOutside () const
int indexInOutside () const
int twistInSelf () const
 twist of the face seen from the inner element
int twistInInside () const
 twist of the face seen from the inner element
int twistInNeighbor () const
 twist of the face seen from the outer element
int twistInOutside () const
 twist of the face seen from the outer element
const NormalType unitOuterNormal (const FieldVector< ctype, dim-1 > &local) const
const NormalType centerUnitOuterNormal () const
const NormalType outerNormal (const FieldVector< ctype, dim-1 > &local) const
const NormalType integrationOuterNormal (const FieldVector< ctype, dim-1 > &local) const
int level () const
 return level of iterator
bool conforming () const
 return true if intersection is conform (i.e. only one neighbor)
IntersectionIteratorImp & it ()
 returns reference to underlying intersection iterator implementation
const IntersectionIteratorImp & it () const

Detailed Description

template<class GridImp>
class Dune::LevelIntersectionWrapper< GridImp >

Class that wraps IntersectionIteratorImp of a grid and gets it's internal object from a object stack hold by the grid.

Member Typedef Documentation

typedef GridImp :: ctype Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::ctype
inherited

define type used for coordinates in grid module

typedef GridImp::template Codim<0>::Entity Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::Entity
inherited

Entity type.

typedef GridImp::template Codim<0>::EntityPointer Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::EntityPointer
inherited

type of EntityPointer

typedef GridImp :: GridObjectFactoryType Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::FactoryType
inherited
typedef GridImp::template Codim<1>::Geometry Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::Geometry
inherited

type of intersectionGlobal

typedef GridImp::template Codim<1>::LocalGeometry Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::LocalGeometry
inherited

type of intersection*Local

typedef FieldVector<ctype , dimworld> Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::NormalType
inherited

type of normal vector

Member Enumeration Documentation

anonymous enum
inherited

dimension

anonymous enum
inherited

dimensionworld

Constructor & Destructor Documentation

template<class GridImp>
template<class EntityImp >
Dune::LevelIntersectionWrapper< GridImp >::LevelIntersectionWrapper ( const EntityImp &  en,
int  wLevel,
bool  end 
)
inline

constructor called from the ibegin and iend method

template<class GridImp>
Dune::LevelIntersectionWrapper< GridImp >::LevelIntersectionWrapper ( const ThisType org)
inline

The copy constructor.

Member Function Documentation

bool Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::boundary ( ) const
inlineinherited

return true if intersection is with boundary.

Todo:
connection with boundary information, processor/outer boundary
int Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::boundaryId ( ) const
inlineinherited

return information about the Boundary

size_t Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::boundarySegmentIndex ( ) const
inlineinherited

return the boundary segment index

const NormalType Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::centerUnitOuterNormal ( ) const
inlineinherited

return unit outer normal, this should be dependent on local coordinates for higher order boundary

bool Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::conforming ( ) const
inlineinherited

return true if intersection is conform (i.e. only one neighbor)

bool Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::equals ( const ThisType i) const
inlineinherited

the equality method

Geometry Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::geometry ( ) const
inlineinherited

intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in GLOBAL coordinates of the element where iteration started.

LocalGeometry Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::geometryInInside ( ) const
inlineinherited

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.

LocalGeometry Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::geometryInOutside ( ) const
inlineinherited

intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor

void Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::increment ( )
inlineinherited

increment iterator

int Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::indexInInside ( ) const
inlineinherited

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

int Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::indexInOutside ( ) const
inlineinherited

local index of codim 1 entity in neighbor where intersection is contained

EntityPointer Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::inside ( ) const
inlineinherited

access entity where iteration started

const NormalType Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::integrationOuterNormal ( const FieldVector< ctype, dim-1 > &  local) const
inlineinherited

return outer normal, this should be dependent on local coordinates for higher order boundary

IntersectionIteratorImp& Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::it ( )
inlineinherited

returns reference to underlying intersection iterator implementation

const IntersectionIteratorImp& Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::it ( ) const
inlineinherited
int Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::level ( ) const
inlineinherited

return level of iterator

bool Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::neighbor ( ) const
inlineinherited

return true if across the intersection a neighbor on this level exists

const NormalType Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::outerNormal ( const FieldVector< ctype, dim-1 > &  local) const
inlineinherited

return outer normal, this should be dependent on local coordinates for higher order boundary

EntityPointer Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::outside ( ) const
inlineinherited

access neighbor

int Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::twistInInside ( ) const
inlineinherited

twist of the face seen from the inner element

int Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::twistInNeighbor ( ) const
inlineinherited

twist of the face seen from the outer element

int Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::twistInOutside ( ) const
inlineinherited

twist of the face seen from the outer element

int Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::twistInSelf ( ) const
inlineinherited

twist of the face seen from the inner element

GeometryType Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::type ( ) const
inlineinherited

obtain the type of reference element for this intersection

const NormalType Dune::IntersectionIteratorWrapper< GridImp, GridImp::LevelIntersectionIteratorImp >::unitOuterNormal ( const FieldVector< ctype, dim-1 > &  local) const
inlineinherited

return unit outer normal, this should be dependent on local coordinates for higher order boundary


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