3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Static Public Member Functions | List of all members
Dumux::IndexHelper< stokesIdx, darcyIdx, FFFS, false > Struct Template Reference

Helper struct to choose the correct index for phases and components. This is need if the porous-medium-flow model features more fluid phases than the free-flow model. Specialization for the case that no adapter is used. More...

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

Description

template<std::size_t stokesIdx, std::size_t darcyIdx, class FFFS>
struct Dumux::IndexHelper< stokesIdx, darcyIdx, FFFS, false >

Helper struct to choose the correct index for phases and components. This is need if the porous-medium-flow model features more fluid phases than the free-flow model. Specialization for the case that no adapter is used.

Template Parameters
stokesIdxThe domain index of the free-flow model.
darcyIdxThe domain index of the porous-medium-flow model.
FFFSThe free-flow fluidsystem.

Static Public Member Functions

template<std::size_t i>
static constexpr auto couplingPhaseIdx (Dune::index_constant< i >, int coupledPhaseIdx=0)
 No adapter is used, just return the input index. More...
 
template<std::size_t i>
static constexpr auto couplingCompIdx (Dune::index_constant< i >, int coupledCompdIdx)
 No adapter is used, just return the input index. More...
 

Member Function Documentation

◆ couplingCompIdx()

template<std::size_t stokesIdx, std::size_t darcyIdx, class FFFS >
template<std::size_t i>
static constexpr auto Dumux::IndexHelper< stokesIdx, darcyIdx, FFFS, false >::couplingCompIdx ( Dune::index_constant< i >  ,
int  coupledCompdIdx 
)
inlinestaticconstexpr

No adapter is used, just return the input index.

◆ couplingPhaseIdx()

template<std::size_t stokesIdx, std::size_t darcyIdx, class FFFS >
template<std::size_t i>
static constexpr auto Dumux::IndexHelper< stokesIdx, darcyIdx, FFFS, false >::couplingPhaseIdx ( Dune::index_constant< i >  ,
int  coupledPhaseIdx = 0 
)
inlinestaticconstexpr

No adapter is used, just return the input index.


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