dune-alugrid 3.0.0
Public Types | Public Member Functions | List of all members
Dune::LeafIntersectionWrapper< GridImp > Class Template Reference

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

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

Public Types

enum  
 dimension More...
 
enum  
 dimensionworld More...
 
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
 
typedef IntersectionIteratorImpl::Twists Twists
 
typedef Twists::Twist Twist
 

Public Member Functions

 LeafIntersectionWrapper ()
 
template<class EntityImp >
 LeafIntersectionWrapper (const GridImp &grid, const EntityImp &en, int wLevel, bool end)
 constructor called from the ibegin and iend method
 
 LeafIntersectionWrapper (const ThisType &org)
 The copy constructor.
 
 operator bool () const
 
bool equals (const ThisType &other) const
 the equality method
 
void increment ()
 increment iterator
 
Entity outside () const
 access neighbor
 
Entity 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
 
Twist twistInInside () const
 twist of the face seen from the inner element
 
Twist 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
 
int weight () const
 return weight associated with graph edge between the neighboring elements
 

Member Typedef Documentation

◆ ctype

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

define type used for coordinates in grid module

◆ Entity

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

Entity type.

◆ EntityPointer

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

type of EntityPointer

◆ Geometry

typedef GridImp::template Codim<1>::Geometry Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::Geometry
inherited

type of intersectionGlobal

◆ LocalGeometry

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

type of intersection*Local

◆ NormalType

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

type of normal vector

◆ Twist

typedef Twists::Twist Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::Twist
inherited

◆ Twists

typedef IntersectionIteratorImpl::Twists Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::Twists
inherited

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited

dimension

◆ anonymous enum

anonymous enum
inherited

dimensionworld

Constructor & Destructor Documentation

◆ LeafIntersectionWrapper() [1/3]

template<class GridImp >
Dune::LeafIntersectionWrapper< GridImp >::LeafIntersectionWrapper ( )
inline

◆ LeafIntersectionWrapper() [2/3]

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

constructor called from the ibegin and iend method

◆ LeafIntersectionWrapper() [3/3]

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

The copy constructor.

Member Function Documentation

◆ boundary()

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

return true if intersection is with boundary.

Todo:
connection with boundary information, processor/outer boundary

◆ boundaryId()

int Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::boundaryId ( ) const
inlineinherited

return information about the Boundary

◆ boundarySegmentIndex()

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

return the boundary segment index

◆ centerUnitOuterNormal()

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

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

◆ conforming()

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

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

◆ equals()

bool Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::equals ( const ThisType other) const
inlineinherited

the equality method

◆ geometry()

Geometry Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::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.

◆ geometryInInside()

LocalGeometry Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::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.

◆ geometryInOutside()

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

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

◆ increment()

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

increment iterator

◆ indexInInside()

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

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

◆ indexInOutside()

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

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

◆ inside()

Entity Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::inside ( ) const
inlineinherited

access entity where iteration started

◆ integrationOuterNormal()

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

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

◆ it() [1/2]

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

returns reference to underlying intersection iterator implementation

◆ it() [2/2]

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

◆ level()

int Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::level ( ) const
inlineinherited

return level of iterator

◆ neighbor()

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

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

◆ operator bool()

Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::operator bool ( ) const
inlineinherited

◆ outerNormal()

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

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

◆ outside()

Entity Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::outside ( ) const
inlineinherited

access neighbor

◆ twistInInside()

Twist Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::twistInInside ( ) const
inlineinherited

twist of the face seen from the inner element

◆ twistInOutside()

Twist Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::twistInOutside ( ) const
inlineinherited

twist of the face seen from the outer element

◆ type()

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

obtain the type of reference element for this intersection

◆ unitOuterNormal()

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

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

◆ weight()

int Dune::IntersectionIteratorWrapper< GridImp, GridImp::LeafIntersectionIteratorImp >::weight ( ) const
inlineinherited

return weight associated with graph edge between the neighboring elements


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