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

#include <dune/grid/sgrid.hh>

Inheritance diagram for Dune::SIntersection< GridImp >:
Inheritance graph

Public Types

enum  { dimension =dim }
 know your own dimension More...
 
enum  { dimensionworld =dimworld }
 know your own dimension of world More...
 
typedef GridImp::template Codim< 0 >::Entity Entity
 
typedef GridImp::template Codim< 0 >::EntityPointer EntityPointer
 
typedef GridImp::template Codim< 1 >::Geometry Geometry
 
typedef Geometry::LocalCoordinate LocalCoordinate
 
typedef Geometry::GlobalCoordinate GlobalCoordinate
 
typedef GridImp::template Codim< 1 >::LocalGeometry LocalGeometry
 
typedef Dune::Intersection< const GridImp, Dune::SIntersectionIterator< const GridImp > > Intersection
 
typedef GridImp::ctype ctype
 define type used for coordinates in grid module More...
 

Public Member Functions

bool equals (const SIntersection &other) const
 
Entity inside () const
 
Entity outside () const
 
bool boundary () const
 return true if intersection is with boundary. More...
 
int boundaryId () const
 
int boundarySegmentIndex () const
 
bool neighbor () const
 return true if neighbor on this level exists More...
 
LocalGeometry geometryInInside () const
 
LocalGeometry geometryInOutside () const
 
Geometry geometry () const
 
GeometryType type () const
 obtain the type of reference element for this intersection More...
 
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...
 
 SIntersection ()
 
 SIntersection (GridImp *_grid, const SEntity< 0, dim, GridImp > *_self, int _count)
 constructor More...
 
 SIntersection (const SIntersection &other)
 
SIntersectionoperator= (const SIntersection &other)
 assignment operator More...
 
bool conforming () const
 return true if intersection is conform. More...
 
GlobalCoordinate outerNormal (const LocalCoordinate &local) const
 Return an outer normal (length not necessarily 1) More...
 
GlobalCoordinate integrationOuterNormal (const LocalCoordinate &local) const
 return outer normal scaled with the integration element More...
 
GlobalCoordinate unitOuterNormal (const LocalCoordinate &local) const
 Return unit outer normal (length == 1) More...
 
GlobalCoordinate centerUnitOuterNormal () const
 Return unit outer normal (length == 1) More...
 

Member Typedef Documentation

template<class GridImp>
typedef GridImp::ctype Dune::SIntersection< GridImp >::ctype

define type used for coordinates in grid module

template<class GridImp>
typedef GridImp::template Codim<0>::Entity Dune::SIntersection< GridImp >::Entity
template<class GridImp>
typedef GridImp::template Codim<0>::EntityPointer Dune::SIntersection< GridImp >::EntityPointer
template<class GridImp>
typedef GridImp::template Codim<1>::Geometry Dune::SIntersection< GridImp >::Geometry
template<class GridImp>
typedef Geometry::GlobalCoordinate Dune::SIntersection< GridImp >::GlobalCoordinate
template<class GridImp>
typedef Dune::Intersection< const GridImp, Dune::SIntersectionIterator< const GridImp > > Dune::SIntersection< GridImp >::Intersection
template<class GridImp>
typedef Geometry::LocalCoordinate Dune::SIntersection< GridImp >::LocalCoordinate
template<class GridImp>
typedef GridImp::template Codim<1>::LocalGeometry Dune::SIntersection< GridImp >::LocalGeometry

Member Enumeration Documentation

template<class GridImp>
anonymous enum

know your own dimension

Enumerator
dimension 
template<class GridImp>
anonymous enum

know your own dimension of world

Enumerator
dimensionworld 

Constructor & Destructor Documentation

template<class GridImp>
Dune::SIntersection< GridImp >::SIntersection ( )
inline
template<class GridImp>
Dune::SIntersection< GridImp >::SIntersection ( GridImp *  _grid,
const SEntity< 0, dim, GridImp > *  _self,
int  _count 
)
inline

constructor

template<class GridImp>
Dune::SIntersection< GridImp >::SIntersection ( const SIntersection< GridImp > &  other)
inline

Member Function Documentation

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

return true if intersection is with boundary.

Referenced by Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > >::boundary().

template<class GridImp>
int Dune::SIntersection< GridImp >::boundaryId ( ) const
inline
template<class GridImp>
int Dune::SIntersection< GridImp >::boundarySegmentIndex ( ) const
inline
template<class GridImp>
GlobalCoordinate Dune::SIntersection< GridImp >::centerUnitOuterNormal ( ) const
inline
template<class GridImp>
bool Dune::SIntersection< GridImp >::conforming ( ) const
inline
template<class GridImp>
bool Dune::SIntersection< GridImp >::equals ( const SIntersection< GridImp > &  other) const
template<class GridImp>
Geometry Dune::SIntersection< 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.

Referenced by Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > >::geometry().

template<class GridImp>
LocalGeometry Dune::SIntersection< 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.

Referenced by Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > >::geometryInInside().

template<class GridImp>
LocalGeometry Dune::SIntersection< GridImp >::geometryInOutside ( ) const

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

Referenced by Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > >::geometryInOutside().

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

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

Referenced by Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > >::indexInInside().

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

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

Referenced by Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > >::indexInOutside().

template<class GridImp>
Entity Dune::SIntersection< GridImp >::inside ( ) const
template<class GridImp>
GlobalCoordinate Dune::SIntersection< GridImp >::integrationOuterNormal ( const LocalCoordinate local) const
inline

return outer normal scaled with the integration element

Referenced by Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > >::integrationOuterNormal().

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

return true if neighbor on this level exists

Referenced by Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > >::neighbor().

template<class GridImp>
SIntersection& Dune::SIntersection< GridImp >::operator= ( const SIntersection< GridImp > &  other)
inline

assignment operator

template<class GridImp>
GlobalCoordinate Dune::SIntersection< GridImp >::outerNormal ( const LocalCoordinate local) const
inline

Return an outer normal (length not necessarily 1)

Referenced by Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > >::outerNormal().

template<class GridImp>
Entity Dune::SIntersection< GridImp >::outside ( ) const
template<class GridImp>
GeometryType Dune::SIntersection< GridImp >::type ( ) const
inline

obtain the type of reference element for this intersection

Referenced by Dune::Intersection< const GridImp, Dune::SIntersection< const GridImp > >::type().

template<class GridImp>
GlobalCoordinate Dune::SIntersection< GridImp >::unitOuterNormal ( const LocalCoordinate local) const
inline

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