version 3.8
freeflowporousmedium/couplingconditions.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_MD_FREEFLOW_POROUSMEDIUM_COUPLINGCONDITIONS_HH
14#define DUMUX_MD_FREEFLOW_POROUSMEDIUM_COUPLINGCONDITIONS_HH
15
17
19
20namespace Dumux {
21
22#ifndef DOXYGEN
23namespace FreeFlowPorousMediumDetail {
24
25// declaration (specialize for different discretization types)
26template<class MDTraits, class CouplingManager,
27 class DiscFFMomentum = typename MDTraits::template SubDomain<CouplingManager::freeFlowMomentumIndex>::GridGeometry::DiscretizationMethod,
28 class DiscFFMass = typename MDTraits::template SubDomain<CouplingManager::freeFlowMassIndex>::GridGeometry::DiscretizationMethod,
29 class DiscPM = typename MDTraits::template SubDomain<CouplingManager::porousMediumIndex>::GridGeometry::DiscretizationMethod
30 >
31struct FreeFlowPorousMediumCouplingConditionsSelector;
32
33template<class MDTraits, class CouplingManager>
34struct FreeFlowPorousMediumCouplingConditionsSelector<MDTraits, CouplingManager, DiscretizationMethods::FCStaggered, DiscretizationMethods::CCTpfa, DiscretizationMethods::CCTpfa>
35{ using type = FFPMCouplingConditionsStaggeredCCTpfa<MDTraits, CouplingManager>; };
36
37} // end namespace FreeFlowPorousMediumDetail
38#endif // DOXYGEN
39
40template<class MDTraits, class CouplingManager>
41using FreeFlowPorousMediumCouplingConditions = typename FreeFlowPorousMediumDetail::FreeFlowPorousMediumCouplingConditionsSelector<MDTraits,CouplingManager>::type;
42
43} // end namespace Dumux
44
45#endif
The available discretization methods in Dumux.
Definition: adapt.hh:17
typename FreeFlowPorousMediumDetail::FreeFlowPorousMediumCouplingConditionsSelector< MDTraits, CouplingManager >::type FreeFlowPorousMediumCouplingConditions
Definition: freeflowporousmedium/couplingconditions.hh:41