version 3.11-dev
Loading...
Searching...
No Matches
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-FileCopyrightText: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12
13#ifndef DUMUX_MD_FREEFLOW_POROUSMEDIUM_COUPLINGCONDITIONS_HH
14#define DUMUX_MD_FREEFLOW_POROUSMEDIUM_COUPLINGCONDITIONS_HH
15
18
20
21namespace Dumux {
22
23#ifndef DOXYGEN
24namespace FreeFlowPorousMediumDetail {
25
26// declaration (specialize for different discretization types)
27template<class MDTraits, class CouplingManager,
28 class DiscFFMomentum = typename GetPropType<typename MDTraits::template SubDomainTypeTag<CouplingManager::freeFlowMomentumIndex>, Properties::GridGeometry>::DiscretizationMethod,
29 class DiscFFMass = typename GetPropType<typename MDTraits::template SubDomainTypeTag<CouplingManager::freeFlowMassIndex>, Properties::GridGeometry>::DiscretizationMethod,
30 class DiscPM = typename GetPropType<typename MDTraits::template SubDomainTypeTag<CouplingManager::porousMediumIndex>, Properties::GridGeometry>::DiscretizationMethod
31 >
32struct FreeFlowPorousMediumCouplingConditionsSelector;
33
34template<class MDTraits, class CouplingManager>
35struct FreeFlowPorousMediumCouplingConditionsSelector<MDTraits, CouplingManager, DiscretizationMethods::FCStaggered, DiscretizationMethods::CCTpfa, DiscretizationMethods::CCTpfa>
36{ using type = FFPMCouplingConditionsStaggeredCCTpfa<MDTraits, CouplingManager>; };
37
38} // end namespace FreeFlowPorousMediumDetail
39#endif // DOXYGEN
40
41template<class MDTraits, class CouplingManager>
42using FreeFlowPorousMediumCouplingConditions = typename FreeFlowPorousMediumDetail::FreeFlowPorousMediumCouplingConditionsSelector<MDTraits,CouplingManager>::type;
43
44} // end namespace Dumux
45
46#endif
Defines all properties used in Dumux.
Data for the coupling of a Darcy model (cell-centered finite volume) with a (Navier-)Stokes model (st...
The available discretization methods in Dumux.
Definition adapt.hh:17
typename FreeFlowPorousMediumDetail::FreeFlowPorousMediumCouplingConditionsSelector< MDTraits, CouplingManager >::type FreeFlowPorousMediumCouplingConditions
Definition freeflowporousmedium/couplingconditions.hh:42