Dune Core Modules (2.3.1)

Dune::SIntersectionIterator< GridImp > Class Template Reference

#include <dune/grid/sgrid.hh>

Public Types

enum  
 know your own dimension
 
enum  
 know your own dimension of world
 
typedef GridImp::ctype ctype
 define type used for coordinates in grid module
 

Public Member Functions

bool equals (const SIntersectionIterator< GridImp > &i) const
 equality
 
void increment ()
 increment
 
const Intersectiondereference () const
 dereferencing
 
EntityPointer inside () const
 
EntityPointer outside () const
 
bool boundary () const
 return true if intersection is with boundary.
 
bool neighbor () const
 return true if neighbor on this level exists
 
LocalGeometry geometryInInside () const
 
LocalGeometry geometryInOutside () const
 
Geometry geometry () const
 
GeometryType type () const
 obtain the type of reference element for this intersection
 
int indexInInside () const
 local index of codim 1 entity in self where intersection is contained in
 
int indexInOutside () const
 local index of codim 1 entity in neighbor where intersection is contained in
 
 SIntersectionIterator (GridImp *_grid, const SEntity< 0, dim, GridImp > *_self, int _count)
 constructor
 
SIntersectionIteratoroperator= (const SIntersectionIterator &other)
 assignment operator
 

Detailed Description

template<class GridImp>
class Dune::SIntersectionIterator< GridImp >

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

Member Function Documentation

◆ geometry()

template<class GridImp >
Geometry Dune::SIntersectionIterator< 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::SIntersectionIterator< 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::SIntersectionIterator< GridImp >::geometryInOutside ( ) const

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

◆ inside()

template<class GridImp >
EntityPointer Dune::SIntersectionIterator< GridImp >::inside ( ) const

return EntityPointer to the Entity on the inside of this intersection (that is the Entity where we started this Iterator)

◆ outside()

template<class GridImp >
EntityPointer Dune::SIntersectionIterator< GridImp >::outside ( ) const

return EntityPointer to the Entity on the outside of this intersection (that is the neighboring Entity)


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 2, 22:35, 2024)