Dune Core Modules (2.9.0)

Dune::ALU3dGridIntersectionIterator< GridImp > Class Template Reference

#include <dune/alugrid/3d/iterator.hh>

Public Types

typedef Dune::Intersection< GridImp, Dune::ALU3dGridIntersectionIterator< GridImp > > Intersection
 type of the intersection
 

Public Member Functions

 ALU3dGridIntersectionIterator (const bool levelIntersectionIterator=false)
 The default Constructor.
 
 ALU3dGridIntersectionIterator (const ALU3dGridIntersectionIterator< GridImp > &org)
 The copy constructor.
 
void assign (const ALU3dGridIntersectionIterator< GridImp > &org)
 assignment of iterators
 
bool equals (const ALU3dGridIntersectionIterator< GridImp > &i) const
 The copy constructor.
 
void increment ()
 increment iterator
 
EntityImp outside () const
 access neighbor
 
EntityImp inside () const
 access entity where iteration started
 
bool boundary () const
 return true if intersection is with boundary.
 
bool neighbor () const
 return true if across the face an neighbor on leaf exists
 
int boundaryId () const
 return information about the Boundary
 
size_t boundarySegmentIndex () const
 return the boundary segment index
 
int segmentId () const
 return the segment id (non-consecutive)
 
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
 returns twist of face compared to inner element
 
Twist twistInOutside () const
 returns twist of face compared to outer element
 
NormalType unitOuterNormal (const FieldVector< alu3d_ctype, dim-1 > &local) const
 
NormalType outerNormal (const FieldVector< alu3d_ctype, dim-1 > &local) const
 
NormalType integrationOuterNormal (const FieldVector< alu3d_ctype, dim-1 > &local) const
 
int level () const
 return level of iterator (level of item)
 
bool conforming () const
 return true if intersection is conforming
 
const GEOFaceType & getItem () const
 return current face
 
int weight () const
 return communication weight
 

Protected Attributes

FaceInfoType connector_
 
const IMPLElementType * item_
 current element from which we started the intersection iterator
 
const BNDFaceType * ghost_
 current pointer to ghost face if iterator was started from ghost element
 
const GridImp * grid_
 pointer to grid implementation
 

Detailed Description

template<class GridImp>
class Dune::ALU3dGridIntersectionIterator< GridImp >

Mesh entities of codimension 0 ("elements") allow to visit all neighbors, wh a neighbor is an entity of codimension 0 which has a common entity of codimens These neighbors are accessed via a IntersectionIterator. This allows the implement non-matching meshes. The number of neigbors may be different from the number o of an element!

Member Function Documentation

◆ geometry()

template<class GridImp >
alu_inline ALU3dGridIntersectionIterator< GridImp >::Geometry Dune::ALU3dGridIntersectionIterator< GridImp >::geometry

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

template<class GridImp >
alu_inline ALU3dGridIntersectionIterator< GridImp >::LocalGeometry Dune::ALU3dGridIntersectionIterator< GridImp >::geometryInInside

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

template<class GridImp >
alu_inline ALU3dGridIntersectionIterator< GridImp >::LocalGeometry Dune::ALU3dGridIntersectionIterator< GridImp >::geometryInOutside

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

◆ indexInInside()

template<class GridImp >
alu_inline int Dune::ALU3dGridIntersectionIterator< GridImp >::indexInInside

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

◆ indexInOutside()

template<class GridImp >
alu_inline int Dune::ALU3dGridIntersectionIterator< GridImp >::indexInOutside

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

◆ integrationOuterNormal()

template<class GridImp >
alu_inline ALU3dGridIntersectionIterator< GridImp >::NormalType Dune::ALU3dGridIntersectionIterator< GridImp >::integrationOuterNormal ( const FieldVector< alu3d_ctype, dim-1 > &  local) const

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

◆ outerNormal()

template<class GridImp >
alu_inline ALU3dGridIntersectionIterator< GridImp >::NormalType Dune::ALU3dGridIntersectionIterator< GridImp >::outerNormal ( const FieldVector< alu3d_ctype, dim-1 > &  local) const

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

References Dune::referenceElement().

◆ unitOuterNormal()

template<class GridImp >
alu_inline ALU3dGridIntersectionIterator< GridImp >::NormalType Dune::ALU3dGridIntersectionIterator< GridImp >::unitOuterNormal ( const FieldVector< alu3d_ctype, dim-1 > &  local) const

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

Member Data Documentation

◆ connector_

template<class GridImp >
FaceInfoType Dune::ALU3dGridIntersectionIterator< GridImp >::connector_
mutableprotected

structure containing the topological and geometrical information about the face which the iterator points to

Referenced by Dune::ALU3dGridIntersectionIterator< GridImp >::assign(), Dune::ALU3dGridIntersectionIterator< GridImp >::conforming(), and Dune::ALU3dGridIntersectionIterator< GridImp >::getItem().


The documentation for this class was generated from the following files:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 20, 23:31, 2024)