3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Classes | Public Member Functions | Static Public Attributes | List of all members
Dumux::StokesDarcyCouplingMapper< MDTraits > Class Template Reference

Coupling mapper for Stokes and Darcy domains with equal dimension. More...

#include <dumux/multidomain/boundary/stokesdarcy/couplingmapper.hh>

Description

template<class MDTraits>
class Dumux::StokesDarcyCouplingMapper< MDTraits >

Coupling mapper for Stokes and Darcy domains with equal dimension.

Public Member Functions

 StokesDarcyCouplingMapper (const CouplingManager &couplingManager)
 Constructor. More...
 
template<class Stencils >
void computeCouplingMapsAndStencils (Stencils &darcyToStokesCellCenterStencils, Stencils &darcyToStokesFaceStencils, Stencils &stokesCellCenterToDarcyStencils, Stencils &stokesFaceToDarcyStencils)
 Main update routine. More...
 
bool isCoupledDarcyScvf (std::size_t darcyScvfIdx) const
 Returns whether a Darcy scvf is coupled to the other domain. More...
 
const auto & darcyElementToStokesElementMap () const
 A map that returns all Stokes elements coupled to a Darcy element. More...
 
const auto & stokesElementToDarcyElementMap () const
 A map that returns all Darcy elements coupled to a Stokes element. More...
 

Static Public Attributes

static constexpr auto stokesCellCenterIdx = typename MDTraits::template SubDomain<0>::Index()
 
static constexpr auto stokesFaceIdx = typename MDTraits::template SubDomain<1>::Index()
 
static constexpr auto cellCenterIdx = typename MDTraits::template SubDomain<0>::Index()
 
static constexpr auto faceIdx = typename MDTraits::template SubDomain<1>::Index()
 
static constexpr auto stokesIdx = stokesCellCenterIdx
 
static constexpr auto darcyIdx = typename MDTraits::template SubDomain<2>::Index()
 

Constructor & Destructor Documentation

◆ StokesDarcyCouplingMapper()

template<class MDTraits >
Dumux::StokesDarcyCouplingMapper< MDTraits >::StokesDarcyCouplingMapper ( const CouplingManager &  couplingManager)
inline

Constructor.

Member Function Documentation

◆ computeCouplingMapsAndStencils()

template<class MDTraits >
template<class Stencils >
void Dumux::StokesDarcyCouplingMapper< MDTraits >::computeCouplingMapsAndStencils ( Stencils &  darcyToStokesCellCenterStencils,
Stencils &  darcyToStokesFaceStencils,
Stencils &  stokesCellCenterToDarcyStencils,
Stencils &  stokesFaceToDarcyStencils 
)
inline

Main update routine.

◆ darcyElementToStokesElementMap()

template<class MDTraits >
const auto & Dumux::StokesDarcyCouplingMapper< MDTraits >::darcyElementToStokesElementMap ( ) const
inline

A map that returns all Stokes elements coupled to a Darcy element.

◆ isCoupledDarcyScvf()

template<class MDTraits >
bool Dumux::StokesDarcyCouplingMapper< MDTraits >::isCoupledDarcyScvf ( std::size_t  darcyScvfIdx) const
inline

Returns whether a Darcy scvf is coupled to the other domain.

◆ stokesElementToDarcyElementMap()

template<class MDTraits >
const auto & Dumux::StokesDarcyCouplingMapper< MDTraits >::stokesElementToDarcyElementMap ( ) const
inline

A map that returns all Darcy elements coupled to a Stokes element.

Member Data Documentation

◆ cellCenterIdx

template<class MDTraits >
constexpr auto Dumux::StokesDarcyCouplingMapper< MDTraits >::cellCenterIdx = typename MDTraits::template SubDomain<0>::Index()
staticconstexpr

◆ darcyIdx

template<class MDTraits >
constexpr auto Dumux::StokesDarcyCouplingMapper< MDTraits >::darcyIdx = typename MDTraits::template SubDomain<2>::Index()
staticconstexpr

◆ faceIdx

template<class MDTraits >
constexpr auto Dumux::StokesDarcyCouplingMapper< MDTraits >::faceIdx = typename MDTraits::template SubDomain<1>::Index()
staticconstexpr

◆ stokesCellCenterIdx

template<class MDTraits >
constexpr auto Dumux::StokesDarcyCouplingMapper< MDTraits >::stokesCellCenterIdx = typename MDTraits::template SubDomain<0>::Index()
staticconstexpr

◆ stokesFaceIdx

template<class MDTraits >
constexpr auto Dumux::StokesDarcyCouplingMapper< MDTraits >::stokesFaceIdx = typename MDTraits::template SubDomain<1>::Index()
staticconstexpr

◆ stokesIdx

template<class MDTraits >
constexpr auto Dumux::StokesDarcyCouplingMapper< MDTraits >::stokesIdx = stokesCellCenterIdx
staticconstexpr

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