Dune Core Modules (2.4.1)

Dune::ALU3dGridIntersectionIterator< GridImp > Class Template Reference

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

Public Types

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

Public Member Functions

 ALU3dGridIntersectionIterator (const FactoryType &factory, HElementType *el, int wLevel, bool end=false)
 
 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
 
EntityPointer outside () const
 access neighbor
 
EntityPointer 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
 
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 twistInInside () const
 returns twist of face compared to inner element
 
int twistInOutside () const
 returns twist of face compared to outer element
 
NormalTypeunitOuterNormal (const FieldVector< alu3d_ctype, dim-1 > &local) const
 
NormalTypeouterNormal (const FieldVector< alu3d_ctype, dim-1 > &local) const
 
NormalTypeintegrationOuterNormal (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
 

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
 

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!

Constructor & Destructor Documentation

◆ ALU3dGridIntersectionIterator()

template<class GridImp >
Dune::ALU3dGridIntersectionIterator< GridImp >::ALU3dGridIntersectionIterator ( const FactoryType &  factory,
HElementType *  el,
int  wLevel,
bool  end = false 
)

The default Constructor , level tells on which level we want neighbours

Member Function Documentation

◆ geometry()

template<class GridImp >
Geometry Dune::ALU3dGridIntersectionIterator< GridImp >::geometry ( ) const

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 >
LocalGeometry Dune::ALU3dGridIntersectionIterator< GridImp >::geometryInInside ( ) const

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 >
LocalGeometry Dune::ALU3dGridIntersectionIterator< GridImp >::geometryInOutside ( ) const

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 >
int Dune::ALU3dGridIntersectionIterator< GridImp >::indexInInside ( ) const

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

◆ indexInOutside()

template<class GridImp >
int Dune::ALU3dGridIntersectionIterator< GridImp >::indexInOutside ( ) const

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

◆ integrationOuterNormal()

template<class 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 >
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

◆ unitOuterNormal()

template<class 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 >::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 (Nov 13, 23:29, 2024)