version 3.10-dev
multidomain/boundary/freeflowporousmedium/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// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
13#ifndef DUMUX_MULTIDOMAIN_BOUNDARY_FREEFLOW_POROUSMEDIUM_COUPLINGMANAGER_HH
14#define DUMUX_MULTIDOMAIN_BOUNDARY_FREEFLOW_POROUSMEDIUM_COUPLINGMANAGER_HH
15
17
20
21namespace Dumux {
22
23#ifndef DOXYGEN
24namespace FreeFlowPorousMediumDetail {
25
26// declaration (specialize for different discretization types)
27template<class MDTraits,
28 class DiscFFMomentum = typename MDTraits::template SubDomain<FreeFlowPorousMediumDetail::freeFlowMomentumIndex>::GridGeometry::DiscretizationMethod,
29 class DiscFFMass = typename MDTraits::template SubDomain<FreeFlowPorousMediumDetail::freeFlowMassIndex>::GridGeometry::DiscretizationMethod,
30 class DiscPM = typename MDTraits::template SubDomain<FreeFlowPorousMediumDetail::porousMediumIndex>::GridGeometry::DiscretizationMethod
31 >
32struct FreeFlowPorousMediumCouplingManagerSelector;
33
34template<class MDTraits>
35struct FreeFlowPorousMediumCouplingManagerSelector<MDTraits, DiscretizationMethods::FCStaggered, DiscretizationMethods::CCTpfa, DiscretizationMethods::CCTpfa>
36{ using type = FreeFlowPorousMediumCouplingManagerStaggeredCCTpfa<MDTraits>; };
37
38} // end namespace FreeFlowPorousMediumDetail
39#endif // DOXYGEN
40
41template<class MDTraits>
42using FreeFlowPorousMediumCouplingManager = typename FreeFlowPorousMediumDetail::FreeFlowPorousMediumCouplingManagerSelector<MDTraits>::type;
43
44} // end namespace Dumux
45
46#endif
Base class for coupling freeflow and porous medium flow models.
The available discretization methods in Dumux.
Definition: adapt.hh:17
typename FreeFlowPorousMediumDetail::FreeFlowPorousMediumCouplingManagerSelector< MDTraits >::type FreeFlowPorousMediumCouplingManager
Definition: multidomain/boundary/freeflowporousmedium/couplingmanager.hh:42