Dune Core Modules (2.5.0)

Dune::YaspIntersection< GridImp > Class Template Reference

YaspIntersection provides data about intersection with neighboring codim 0 entities. More...

#include <dune/grid/yaspgrid/yaspgridintersection.hh>

Public Member Functions

bool boundary () const
 
bool neighbor () const
 return true if neighbor across intersection exists in this processor
 
bool conforming () const
 Yasp is always conform.
 
Entity inside () const
 
Entity outside () const
 return Entity on the outside of this intersection
 
int boundarySegmentIndex () const
 
FieldVector< ctype, dimworld > outerNormal (const FieldVector< ctype, dim-1 > &local) const
 return unit outer normal, this should be dependent on local coordinates for higher order boundary
 
FieldVector< ctype, dimworld > unitOuterNormal (const FieldVector< ctype, dim-1 > &local) const
 return unit outer normal, this should be dependent on local coordinates for higher order boundary
 
FieldVector< ctype, dimworld > centerUnitOuterNormal () const
 return unit outer normal at center of intersection geometry
 
FieldVector< ctype, dimworld > integrationOuterNormal (const FieldVector< ctype, dim-1 > &local) const
 
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
 
 YaspIntersection (const YaspEntity< 0, dim, GridImp > &myself, bool toend)
 make intersection iterator from entity, initialize to first neighbor
 
void assign (const YaspIntersection &it)
 copy constructor – use default More...
 

Detailed Description

template<class GridImp>
class Dune::YaspIntersection< GridImp >

YaspIntersection provides data about intersection with neighboring codim 0 entities.

Member Function Documentation

◆ assign()

template<class GridImp >
void Dune::YaspIntersection< GridImp >::assign ( const YaspIntersection< GridImp > &  it)
inline

copy constructor – use default

copy operator - use default

◆ boundary()

template<class GridImp >
bool Dune::YaspIntersection< GridImp >::boundary ( ) const
inline

return true if we are on the boundary of the domain unless we are periodic in that direction

Referenced by Dune::YaspIntersection< GridImp >::boundarySegmentIndex().

◆ boundarySegmentIndex()

template<class GridImp >
int Dune::YaspIntersection< GridImp >::boundarySegmentIndex ( ) const
inline

identifier for boundary segment from macro grid (attach your boundary condition as needed)

References Dune::YaspIntersection< GridImp >::boundary(), and DUNE_THROW.

◆ geometry()

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

intersection of codimension 1 of this neighbor with element where iteration started.

Referenced by Dune::YaspIntersection< GridImp >::integrationOuterNormal().

◆ geometryInInside()

template<class GridImp >
LocalGeometry Dune::YaspIntersection< GridImp >::geometryInInside ( ) const
inline

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::YaspIntersection< GridImp >::geometryInOutside ( ) const
inline

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 >
Entity Dune::YaspIntersection< GridImp >::inside ( ) const
inline

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

◆ integrationOuterNormal()

template<class GridImp >
FieldVector< ctype, dimworld > Dune::YaspIntersection< GridImp >::integrationOuterNormal ( const FieldVector< ctype, dim-1 > &  local) const
inline

return unit outer normal, this should be dependent on local coordinates for higher order boundary the normal is scaled with the integration element of the intersection.

References Dune::YaspIntersection< GridImp >::geometry().


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 23, 23:29, 2024)