dune-grid 2.9.0
Public Types | Public Member Functions | List of all members
Dune::IdentityGridLevelIntersection< GridImp > Class Template Reference

#include <dune/grid/identitygrid/identitygridintersections.hh>

Public Types

typedef GridImp::template Codim< 1 >::Geometry Geometry
 
typedef GridImp::template Codim< 1 >::LocalGeometry LocalGeometry
 
typedef GridImp::template Codim< 0 >::Entity Entity
 
typedef FieldVector< ctype, dimworld > NormalVector
 

Public Member Functions

 IdentityGridLevelIntersection ()
 
 IdentityGridLevelIntersection (const GridImp *identityGrid, const HostLevelIntersection &hostIntersection)
 
 IdentityGridLevelIntersection (const GridImp *identityGrid, HostLevelIntersection &&hostIntersection)
 
bool equals (const IdentityGridLevelIntersection &other) const
 
Entity inside () const
 
Entity outside () const
 
bool boundary () const
 return true if intersection is with boundary. More...
 
NormalVector centerUnitOuterNormal () const
 Return unit outer normal (length == 1) More...
 
bool neighbor () const
 return true if across the edge an neighbor on this level exists More...
 
size_t boundarySegmentIndex () const
 return the boundary segment index More...
 
bool conforming () const
 Return true if this is a conforming intersection. More...
 
GeometryType type () const
 Geometry type of an intersection. More...
 
LocalGeometry geometryInInside () const
 
LocalGeometry geometryInOutside () const
 
Geometry geometry () const
 
int indexInInside () const
 local number of codim 1 entity in self where intersection is contained in More...
 
int indexInOutside () const
 local number of codim 1 entity in neighbor where intersection is contained More...
 
FieldVector< ctype, dimworld > outerNormal (const FieldVector< ctype, dim-1 > &local) const
 return outer normal More...
 
FieldVector< ctype, dimworld > integrationOuterNormal (const FieldVector< ctype, dim-1 > &local) const
 return outer normal multiplied by the integration element More...
 
FieldVector< ctype, dimworld > unitOuterNormal (const FieldVector< ctype, dim-1 > &local) const
 return unit outer normal More...
 

Detailed Description

template<class GridImp>
class Dune::IdentityGridLevelIntersection< GridImp >
Todo:
Please doc me !

Member Typedef Documentation

◆ Entity

template<class GridImp >
typedef GridImp::template Codim<0>::Entity Dune::IdentityGridLevelIntersection< GridImp >::Entity

◆ Geometry

template<class GridImp >
typedef GridImp::template Codim<1>::Geometry Dune::IdentityGridLevelIntersection< GridImp >::Geometry

◆ LocalGeometry

template<class GridImp >
typedef GridImp::template Codim<1>::LocalGeometry Dune::IdentityGridLevelIntersection< GridImp >::LocalGeometry

◆ NormalVector

template<class GridImp >
typedef FieldVector<ctype, dimworld> Dune::IdentityGridLevelIntersection< GridImp >::NormalVector

Constructor & Destructor Documentation

◆ IdentityGridLevelIntersection() [1/3]

template<class GridImp >
Dune::IdentityGridLevelIntersection< GridImp >::IdentityGridLevelIntersection ( )
inline

◆ IdentityGridLevelIntersection() [2/3]

template<class GridImp >
Dune::IdentityGridLevelIntersection< GridImp >::IdentityGridLevelIntersection ( const GridImp *  identityGrid,
const HostLevelIntersection &  hostIntersection 
)
inline

◆ IdentityGridLevelIntersection() [3/3]

template<class GridImp >
Dune::IdentityGridLevelIntersection< GridImp >::IdentityGridLevelIntersection ( const GridImp *  identityGrid,
HostLevelIntersection &&  hostIntersection 
)
inline

Member Function Documentation

◆ boundary()

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

return true if intersection is with boundary.

◆ boundarySegmentIndex()

template<class GridImp >
size_t Dune::IdentityGridLevelIntersection< GridImp >::boundarySegmentIndex ( ) const
inline

return the boundary segment index

◆ centerUnitOuterNormal()

template<class GridImp >
NormalVector Dune::IdentityGridLevelIntersection< GridImp >::centerUnitOuterNormal ( ) const
inline

Return unit outer normal (length == 1)

The returned vector is the normal at the center() of the intersection's geometry. It is scaled to have unit length.

◆ conforming()

template<class GridImp >
bool Dune::IdentityGridLevelIntersection< GridImp >::conforming ( ) const
inline

Return true if this is a conforming intersection.

◆ equals()

template<class GridImp >
bool Dune::IdentityGridLevelIntersection< GridImp >::equals ( const IdentityGridLevelIntersection< GridImp > &  other) const
inline

◆ geometry()

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

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::IdentityGridLevelIntersection< 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::IdentityGridLevelIntersection< 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

◆ indexInInside()

template<class GridImp >
int Dune::IdentityGridLevelIntersection< GridImp >::indexInInside ( ) const
inline

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

◆ indexInOutside()

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

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

◆ inside()

template<class GridImp >
Entity Dune::IdentityGridLevelIntersection< 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::IdentityGridLevelIntersection< GridImp >::integrationOuterNormal ( const FieldVector< ctype, dim-1 > &  local) const
inline

return outer normal multiplied by the integration element

◆ neighbor()

template<class GridImp >
bool Dune::IdentityGridLevelIntersection< GridImp >::neighbor ( ) const
inline

return true if across the edge an neighbor on this level exists

◆ outerNormal()

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

return outer normal

◆ outside()

template<class GridImp >
Entity Dune::IdentityGridLevelIntersection< GridImp >::outside ( ) const
inline

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

◆ type()

template<class GridImp >
GeometryType Dune::IdentityGridLevelIntersection< GridImp >::type ( ) const
inline

Geometry type of an intersection.

◆ unitOuterNormal()

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

return unit outer normal


The documentation for this class was generated from the following file: