version 3.11-dev
Loading...
Searching...
No Matches
multidomain/boundary/freeflowporousmedium/ffmasspm/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-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_MULTIDOMAIN_BOUNDARY_FFPM_FFMASSPM_COUPLINGMANAGER_HH
14#define DUMUX_MULTIDOMAIN_BOUNDARY_FFPM_FFMASSPM_COUPLINGMANAGER_HH
15
18
21namespace Dumux {
22
23#ifndef DOXYGEN
24namespace FreeFlowMassPorousMediumDetail {
25
26// declaration (specialize for different discretization types)
27template<class MDTraits,
28 class DiscFFMass = typename GetPropType<typename MDTraits::template SubDomainTypeTag<0>, Properties::GridGeometry>::DiscretizationMethod,
29 class DiscPM = typename GetPropType<typename MDTraits::template SubDomainTypeTag<1>, Properties::GridGeometry>::DiscretizationMethod
30 >
31struct FreeFlowMassPorousMediumCouplingManagerSelector;
32
33template<class MDTraits>
34struct FreeFlowMassPorousMediumCouplingManagerSelector<MDTraits, DiscretizationMethods::CCTpfa, DiscretizationMethods::CCTpfa>
35{ using type = FFMassPMCouplingManagerStaggeredCCTpfa<MDTraits>; };
36
37template<class MDTraits>
38struct FreeFlowMassPorousMediumCouplingManagerSelector<MDTraits, DiscretizationMethods::Box, DiscretizationMethods::Box>
39{ using type = CouplingManagerBinaryCvfe<MDTraits>; };
40
41} // end namespace FreeFlowMassPorousMediumDetail
42#endif // DOXYGEN
43
44template<class MDTraits>
45using FreeFlowMassPorousMediumCouplingManager = typename FreeFlowMassPorousMediumDetail::FreeFlowMassPorousMediumCouplingManagerSelector<MDTraits>::type;
46
47} // end namespace Dumux
48
49#endif
Defines all properties used in Dumux.
Coupling manager for coupling two domains both discretized with CVFE schemes.
Coupling manager for Stokes and Darcy domains with equal dimension. Specialization for staggered-cctp...
The available discretization methods in Dumux.
CVFE< CVFEMethods::PQ1 > Box
Definition method.hh:102
Definition adapt.hh:17
typename FreeFlowMassPorousMediumDetail::FreeFlowMassPorousMediumCouplingManagerSelector< MDTraits >::type FreeFlowMassPorousMediumCouplingManager
Definition multidomain/boundary/freeflowporousmedium/ffmasspm/couplingmanager.hh:45