3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper > Class Template Reference

An intersection object representing the intersection between two grid entites of different grids. More...

#include <dumux/multidomain/glue.hh>

Inheritance diagram for Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >:
Inheritance graph

Description

template<class DomainGridView, class TargetGridView, class DomainMapper, class TargetMapper>
class Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >

An intersection object representing the intersection between two grid entites of different grids.

Public Member Functions

 Intersection (const DomainTree &domainTree, const TargetTree &targetTree)
 
void setCorners (const std::vector< GlobalPosition > &corners)
 set the intersection geometry corners More...
 
void addNeighbors (std::size_t domain, std::size_t target)
 add a pair of neighbor elements More...
 
Geometry geometry () const
 get the intersection geometry More...
 
std::size_t numDomainNeighbors () const
 get the number of domain neighbors of this intersection More...
 
std::size_t numTargetNeighbors () const
 get the number of target neighbors of this intersection More...
 
DomainElement domainEntity (unsigned int n=0) const
 get the nth domain neighbor entity More...
 
TargetElement targetEntity (unsigned int n=0) const
 get the nth target neighbor entity More...
 
std::size_t neighbor (unsigned int side) const
 get the number of neigbors More...
 
DomainElement outside (unsigned int n) const
 get the inside (domain) neighbor More...
 
TargetElement inside (unsigned int n) const
 get the outside (target) neighbor More...
 

Constructor & Destructor Documentation

◆ Intersection()

template<class DomainGridView , class TargetGridView , class DomainMapper , class TargetMapper >
Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >::Intersection ( const DomainTree domainTree,
const TargetTree targetTree 
)
inline

Member Function Documentation

◆ addNeighbors()

template<class DomainGridView , class TargetGridView , class DomainMapper , class TargetMapper >
void Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >::addNeighbors ( std::size_t  domain,
std::size_t  target 
)
inline

add a pair of neighbor elements

◆ domainEntity()

template<class DomainGridView , class TargetGridView , class DomainMapper , class TargetMapper >
DomainElement Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >::domainEntity ( unsigned int  n = 0) const
inline

get the nth domain neighbor entity

◆ geometry()

template<class DomainGridView , class TargetGridView , class DomainMapper , class TargetMapper >
Geometry Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >::geometry ( ) const
inline

get the intersection geometry

◆ inside()

template<class DomainGridView , class TargetGridView , class DomainMapper , class TargetMapper >
TargetElement Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >::inside ( unsigned int  n) const
inline

get the outside (target) neighbor

◆ neighbor()

template<class DomainGridView , class TargetGridView , class DomainMapper , class TargetMapper >
std::size_t Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >::neighbor ( unsigned int  side) const
inline

get the number of neigbors

◆ numDomainNeighbors()

template<class DomainGridView , class TargetGridView , class DomainMapper , class TargetMapper >
std::size_t Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >::numDomainNeighbors ( ) const
inline

get the number of domain neighbors of this intersection

◆ numTargetNeighbors()

template<class DomainGridView , class TargetGridView , class DomainMapper , class TargetMapper >
std::size_t Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >::numTargetNeighbors ( ) const
inline

get the number of target neighbors of this intersection

◆ outside()

template<class DomainGridView , class TargetGridView , class DomainMapper , class TargetMapper >
DomainElement Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >::outside ( unsigned int  n) const
inline

get the inside (domain) neighbor

◆ setCorners()

template<class DomainGridView , class TargetGridView , class DomainMapper , class TargetMapper >
void Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >::setCorners ( const std::vector< GlobalPosition > &  corners)
inline

set the intersection geometry corners

◆ targetEntity()

template<class DomainGridView , class TargetGridView , class DomainMapper , class TargetMapper >
TargetElement Dumux::Glue::Intersection< DomainGridView, TargetGridView, DomainMapper, TargetMapper >::targetEntity ( unsigned int  n = 0) const
inline

get the nth target neighbor entity


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