3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
multidomain/freeflow/couplingmanager.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3/*****************************************************************************
4 * See the file COPYING for full copying permissions. *
5 * *
6 * This program is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation, either version 3 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
18 *****************************************************************************/
24#ifndef DUMUX_MULTIDOMAIN_FREEFLOW_COUPLING_MANAGER_HH
25#define DUMUX_MULTIDOMAIN_FREEFLOW_COUPLING_MANAGER_HH
26
28
32
33#ifndef DOXYGEN
34namespace Dumux::Detail {
35
36template<class Traits>
37struct MomentumDiscMethod
38{ using type = typename Traits::template SubDomain<0>::GridGeometry::DiscretizationMethod; };
39
40// declaration (specialize for different discretization types)
41template<class Traits, class DiscretizationMethod = typename MomentumDiscMethod<Traits>::type>
42struct FreeFlowCouplingManagerSelector;
43
44template<class Traits>
45struct FreeFlowCouplingManagerSelector<Traits, DiscretizationMethods::FCStaggered>
46{ using type = FCStaggeredFreeFlowCouplingManager<Traits>; };
47
48template<class Traits>
49struct FreeFlowCouplingManagerSelector<Traits, DiscretizationMethods::FCDiamond>
50{ using type = FCDiamondFreeFlowCouplingManager<Traits>; };
51
52template<class Traits>
53struct FreeFlowCouplingManagerSelector<Traits, DiscretizationMethods::PQ1Bubble>
54{ using type = PQ1BubbleFreeFlowCouplingManager<Traits>; };
55
56} // end namespace Dumux::Detail
57#endif
58
59
60namespace Dumux {
61
66template<class Traits>
67using FreeFlowCouplingManager = typename Detail::FreeFlowCouplingManagerSelector<Traits>::type;
68
69} // end namespace Dumux
70
71#endif
The available discretization methods in Dumux.
Freeflow coupling managers (Navier-Stokes mass-momentum coupling)
Freeflow coupling managers (Navier-Stokes mass-momentum coupling)
Freeflow coupling managers (Navier-Stokes mass-momentum coupling)
typename Detail::FreeFlowCouplingManagerSelector< Traits >::type FreeFlowCouplingManager
The interface of the coupling manager for free flow systems.
Definition: multidomain/freeflow/couplingmanager.hh:67
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
Distance implementation details.
Definition: cvfelocalresidual.hh:37
CVFE< CVFEMethods::CR_RT > FCDiamond
Definition: method.hh:90
CVFE< CVFEMethods::PQ1Bubble > PQ1Bubble
Definition: method.hh:97