version 3.10-dev
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
// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5
// SPDX-License-Identifier: GPL-3.0-or-later
6
//
12
#ifndef DUMUX_MULTIDOMAIN_FREEFLOW_COUPLING_MANAGER_HH
13
#define DUMUX_MULTIDOMAIN_FREEFLOW_COUPLING_MANAGER_HH
14
15
#include <
dumux/discretization/method.hh
>
16
17
#include "
typetraits.hh
"
18
#include "
couplingmanager_staggered.hh
"
19
#include "
couplingmanager_cvfe.hh
"
20
21
#ifndef DOXYGEN
22
namespace
Dumux::Detail
{
23
24
// declaration (specialize for different discretization types)
25
template<class Traits, class DiscretizationMethod = typename MomentumDiscretizationMethod<Traits>::type>
26
struct
FreeFlowCouplingManagerSelector;
27
28
template
<
class
Traits>
29
struct
FreeFlowCouplingManagerSelector<Traits, DiscretizationMethods::FCStaggered>
30
{
using
type = FCStaggeredFreeFlowCouplingManager<Traits>; };
31
32
template
<
class
Traits,
class
D>
33
struct
FreeFlowCouplingManagerSelector<Traits, DiscretizationMethods::CVFE<D>>
34
{
using
type = CVFEFreeFlowCouplingManager<Traits>; };
35
36
}
// end namespace Dumux::Detail
37
#endif
38
39
40
namespace
Dumux
{
41
46
template
<
class
Traits>
47
using
FreeFlowCouplingManager
=
typename
Detail::FreeFlowCouplingManagerSelector<Traits>::type;
48
49
}
// end namespace Dumux
50
51
#endif
couplingmanager_cvfe.hh
Freeflow coupling managers (Navier-Stokes mass-momentum coupling)
couplingmanager_staggered.hh
Freeflow coupling managers (Navier-Stokes mass-momentum coupling)
Dumux::FreeFlowCouplingManager
typename Detail::FreeFlowCouplingManagerSelector< Traits >::type FreeFlowCouplingManager
The interface of the coupling manager for free flow systems.
Definition:
multidomain/freeflow/couplingmanager.hh:47
method.hh
The available discretization methods in Dumux.
typetraits.hh
Some useful type traits.
Dumux::Detail
Distance implementation details.
Definition:
cvfelocalresidual.hh:25
Dumux
Definition:
adapt.hh:17
dumux
multidomain
freeflow
couplingmanager.hh
© Copyright 2010-
DuMux project contributors
(doc pages:
CC-BY 4.0
/ code examples:
GPLv3 or later
)
3.10-dev Generated by
1.9.3