dune-multidomaingrid 2.8
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController > Class Template Reference

An intersection that forms part of the interface between two subdomains. More...

#include <dune/grid/multidomaingrid/subdomaininterfaceiterator.hh>

Inheritance diagram for Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >:
Inheritance graph

Public Types

typedef GridImp::ctype ctype
 
typedef GridImp::SubDomainIndex SubDomainIndex
 
typedef GridImp::Traits::template Codim< 0 >::Entity Entity
 
typedef GridImp::Traits::template Codim< 1 >::Geometry Geometry
 
typedef GridImp::Traits::template Codim< 1 >::LocalGeometry LocalGeometry
 

Public Member Functions

bool operator== (const SubDomainInterface &rhs) const
 
SubDomainInterface-specific interface methods
Entity firstCell () const
 Returns the entity of the corresponding cell in the first subdomain.
 
Entity secondCell () const
 Returns the entity of the corresponding cell in the second subdomain.
 
LocalGeometry geometryInFirstCell () const
 Returns the local geometry in the corresponding cell of the first subdomain.
 
LocalGeometry geometryInSecondCell () const
 Returns the local geometry in the corresponding cell of the second subdomain.
 
int indexInFirstCell () const
 
int indexInSecondCell () const
 
GlobalCoords firstOuterNormal (const LocalCoords &local) const
 
GlobalCoords firstIntegrationOuterNormal (const LocalCoords &local) const
 
GlobalCoords firstUnitOuterNormal (const LocalCoords &local) const
 
GlobalCoords secondOuterNormal (const LocalCoords &local) const
 
GlobalCoords secondIntegrationOuterNormal (const LocalCoords &local) const
 
GlobalCoords secondUnitOuterNormal (const LocalCoords &local) const
 
MultiDomainIntersectionIterator secondMultiDomainIntersectionIterator () const
 Returns a standard Dune IntersectionIterator for the current intersection, but with inside and outside flipped.
 
MultiDomainIntersectionIterator firstMultiDomainIntersectionIterator () const
 Returns a standard Dune IntersectionIterator for the current intersection.
 
SubDomainIndex subDomain1 () const
 Returns the index of the subdomain the first (inside) cell belongs to.
 
SubDomainIndex subDomain2 () const
 Returns the index of the subdomain the second (outside) cell belongs to.
 

Static Public Attributes

static const int dimension = GridImp::dimension
 
static const int dimensionworld = GridImp::dimensionworld
 

Stardard Dune Intersection interface methods

Entity inside () const
 Returns the entity of the corresponding cell in the first subdomain.
 
Entity outside () const
 Returns the entity of the corresponding cell in the second subdomain.
 
bool conforming () const
 Returns true if this intersection is conforming.
 
LocalGeometry geometryInInside () const
 Returns the local geometry in the corresponding cell of the first subdomain.
 
LocalGeometry geometryInOutside () const
 Returns the local geometry in the corresponding cell of the second subdomain.
 
Geometry geometry () const
 Returns the global geometry of the intersection.
 
GeometryType type () const
 Returns the GeometryType of this intersection.
 
int indexInInside () const
 
int indexInOutside () const
 
SubDomainIndex subDomainInInside () const
 Returns the index of the subdomain the first (inside) cell belongs to.
 
SubDomainIndex subDomainInOutside () const
 Returns the index of the subdomain the second (outside) cell belongs to.
 
GlobalCoords outerNormal (const LocalCoords &local) const
 
GlobalCoords integrationOuterNormal (const LocalCoords &local) const
 
GlobalCoords unitOuterNormal (const LocalCoords &local) const
 

Detailed Description

template<typename GridImp, typename GridView, typename HostGridView, typename IterationController>
class Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >

An intersection that forms part of the interface between two subdomains.

Member Typedef Documentation

◆ ctype

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
typedef GridImp::ctype Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::ctype

◆ Entity

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
typedef GridImp::Traits::template Codim<0>::Entity Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::Entity

◆ Geometry

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
typedef GridImp::Traits::template Codim<1>::Geometry Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::Geometry

◆ LocalGeometry

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
typedef GridImp::Traits::template Codim<1>::LocalGeometry Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::LocalGeometry

◆ SubDomainIndex

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
typedef GridImp::SubDomainIndex Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::SubDomainIndex

Member Function Documentation

◆ conforming()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
bool Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::conforming ( ) const
inline

Returns true if this intersection is conforming.

◆ firstCell()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
Entity Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::firstCell ( ) const
inline

Returns the entity of the corresponding cell in the first subdomain.

◆ firstIntegrationOuterNormal()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
GlobalCoords Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::firstIntegrationOuterNormal ( const LocalCoords &  local) const
inline

◆ firstMultiDomainIntersectionIterator()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
MultiDomainIntersectionIterator Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::firstMultiDomainIntersectionIterator ( ) const
inline

Returns a standard Dune IntersectionIterator for the current intersection.

◆ firstOuterNormal()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
GlobalCoords Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::firstOuterNormal ( const LocalCoords &  local) const
inline

◆ firstUnitOuterNormal()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
GlobalCoords Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::firstUnitOuterNormal ( const LocalCoords &  local) const
inline

◆ geometry()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
Geometry Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::geometry ( ) const
inline

Returns the global geometry of the intersection.

◆ geometryInFirstCell()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
LocalGeometry Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::geometryInFirstCell ( ) const
inline

Returns the local geometry in the corresponding cell of the first subdomain.

◆ geometryInInside()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
LocalGeometry Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::geometryInInside ( ) const
inline

Returns the local geometry in the corresponding cell of the first subdomain.

◆ geometryInOutside()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
LocalGeometry Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::geometryInOutside ( ) const
inline

Returns the local geometry in the corresponding cell of the second subdomain.

◆ geometryInSecondCell()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
LocalGeometry Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::geometryInSecondCell ( ) const
inline

Returns the local geometry in the corresponding cell of the second subdomain.

◆ indexInFirstCell()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
int Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::indexInFirstCell ( ) const
inline

Returns the subindex of the corresponding face in the cell belonging to the first subdomain.

◆ indexInInside()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
int Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::indexInInside ( ) const
inline

Returns the subindex of the corresponding face in the cell belonging to the first subdomain.

◆ indexInOutside()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
int Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::indexInOutside ( ) const
inline

Returns the subindex of the corresponding face in the cell belonging to the second subdomain.

◆ indexInSecondCell()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
int Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::indexInSecondCell ( ) const
inline

Returns the subindex of the corresponding face in the cell belonging to the second subdomain.

◆ inside()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
Entity Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::inside ( ) const
inline

Returns the entity of the corresponding cell in the first subdomain.

◆ integrationOuterNormal()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
GlobalCoords Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::integrationOuterNormal ( const LocalCoords &  local) const
inline

◆ operator==()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
bool Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::operator== ( const SubDomainInterface< GridImp, GridView, HostGridView, IterationController > &  rhs) const
inline

◆ outerNormal()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
GlobalCoords Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::outerNormal ( const LocalCoords &  local) const
inline

◆ outside()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
Entity Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::outside ( ) const
inline

Returns the entity of the corresponding cell in the second subdomain.

◆ secondCell()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
Entity Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::secondCell ( ) const
inline

Returns the entity of the corresponding cell in the second subdomain.

◆ secondIntegrationOuterNormal()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
GlobalCoords Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::secondIntegrationOuterNormal ( const LocalCoords &  local) const
inline

◆ secondMultiDomainIntersectionIterator()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
MultiDomainIntersectionIterator Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::secondMultiDomainIntersectionIterator ( ) const
inline

Returns a standard Dune IntersectionIterator for the current intersection, but with inside and outside flipped.

◆ secondOuterNormal()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
GlobalCoords Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::secondOuterNormal ( const LocalCoords &  local) const
inline

◆ secondUnitOuterNormal()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
GlobalCoords Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::secondUnitOuterNormal ( const LocalCoords &  local) const
inline

◆ subDomain1()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
SubDomainIndex Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::subDomain1 ( ) const
inline

Returns the index of the subdomain the first (inside) cell belongs to.

◆ subDomain2()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
SubDomainIndex Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::subDomain2 ( ) const
inline

Returns the index of the subdomain the second (outside) cell belongs to.

◆ subDomainInInside()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
SubDomainIndex Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::subDomainInInside ( ) const
inline

Returns the index of the subdomain the first (inside) cell belongs to.

Note
This method is equivalent to subDomain1().

◆ subDomainInOutside()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
SubDomainIndex Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::subDomainInOutside ( ) const
inline

Returns the index of the subdomain the second (outside) cell belongs to.

Note
This method is equivalent to subDomain2().

◆ type()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
GeometryType Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::type ( ) const
inline

Returns the GeometryType of this intersection.

◆ unitOuterNormal()

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
GlobalCoords Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::unitOuterNormal ( const LocalCoords &  local) const
inline

Member Data Documentation

◆ dimension

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
const int Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::dimension = GridImp::dimension
static

◆ dimensionworld

template<typename GridImp , typename GridView , typename HostGridView , typename IterationController >
const int Dune::mdgrid::SubDomainInterface< GridImp, GridView, HostGridView, IterationController >::dimensionworld = GridImp::dimensionworld
static

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