Dune Core Modules (2.4.2)

Dune::ALU2dGridIntersectionBase< GridImp > Class Template Referenceabstract

#include <dune/grid/alugrid/2d/intersection.hh>

Public Types

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

Public Member Functions

 ALU2dGridIntersectionBase (const FactoryType &factory, int wLevel)
 The default Constructor , creating an empty ALU2dGridIntersectionIterator.
 
 ALU2dGridIntersectionBase (const ThisType &org)
 The copy constructor.
 
void assign (const ThisType &org)
 The copy constructor.
 
bool equals (const ThisType &i) const
 check whether entities are the same or whether iterator is done
 
int level () const
 return level of inside(entity) More...
 
bool boundary () const
 return true if intersection is with boundary
 
int boundaryId () const
 return boundary type
 
size_t boundarySegmentIndex () const
 return the boundary segment index
 
bool neighbor () const
 return true if intersection is with neighbor on this level
 
EntityPointer inside () const
 return EntityPointer to the Entity on the inside of this intersection.
 
EntityPointer outside () const
 return EntityPointer to the Entity on the outside of this intersection.
 
int indexInInside () const
 local index of codim 1 entity in self where intersection is contained in More...
 
int indexInOutside () const
 local index of codim 1 entity in neighbor where intersection is contained in More...
 
GeometryType type () const
 obtain the type of reference element for this intersection
 

Protected Member Functions

void checkValid ()
 return true if intersection is with boundary
 
void first (const EntityImp &en, int wLevel)
 reset IntersectionIterator to first neighbour
 

Detailed Description

template<class GridImp>
class Dune::ALU2dGridIntersectionBase< 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

◆ indexInInside()

template<class GridImp >
int Dune::ALU2dGridIntersectionBase< GridImp >::indexInInside
inline

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

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

◆ indexInOutside()

template<class GridImp >
int Dune::ALU2dGridIntersectionBase< GridImp >::indexInOutside
inline

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

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

◆ level()

template<class GridImp >
int Dune::ALU2dGridIntersectionBase< GridImp >::level
inline

return level of inside(entity)

return level of inside() entitiy


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.80.0 (Apr 19, 22:31, 2024)