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 a adapter is used.  
 More...
#include <dumux/multidomain/boundary/freeflowporousmedium/indexhelper.hh>
template<std::size_t freeFlowIdx, std::size_t porousMediumIndex, class FFFS>
struct Dumux::FreeFlowPorousMediumCoupling::IndexHelper< freeFlowIdx, porousMediumIndex, FFFS, true >
- Template Parameters
- 
  
    | freeFlowIdx | The domain index of the free-flow model. |  | porousMediumIndex | The domain index of the porous-medium-flow model. |  | FFFS | The free-flow fluidsystem. |  
 
|  | 
| static constexpr int | couplingPhaseIdx (Dune::index_constant< freeFlowIdx >, int coupledPhaseIdx=0) | 
|  | The free-flow model always uses phase index 0. 
 | 
|  | 
| static constexpr auto | couplingPhaseIdx (Dune::index_constant< porousMediumIndex >, int coupledPhaseIdx=0) | 
|  | The phase index of the porous-medium-flow model is given by the adapter fluidsystem (i.e., user input). 
 | 
|  | 
| static constexpr auto | couplingCompIdx (Dune::index_constant< freeFlowIdx >, int coupledCompIdx) | 
|  | The free-flow model does not need any change of the component index. 
 | 
|  | 
| static constexpr auto | couplingCompIdx (Dune::index_constant< porousMediumIndex >, int coupledCompIdx) | 
|  | The component index of the porous-medium-flow model is mapped by the adapter fluidsystem. 
 | 
|  | 
◆ couplingCompIdx() [1/2]
template<std::size_t freeFlowIdx, std::size_t porousMediumIndex, class FFFS> 
 
 
◆ couplingCompIdx() [2/2]
template<std::size_t freeFlowIdx, std::size_t porousMediumIndex, class FFFS> 
 
 
◆ couplingPhaseIdx() [1/2]
template<std::size_t freeFlowIdx, std::size_t porousMediumIndex, class FFFS> 
 
 
◆ couplingPhaseIdx() [2/2]
template<std::size_t freeFlowIdx, std::size_t porousMediumIndex, class FFFS> 
 
 
The documentation for this struct was generated from the following file: