version 3.11-dev
couplingmanager1d3d_line.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//
13#ifndef DUMUX_MULTIDOMAIN_EMBEDDED_COUPLINGMANAGER_1D3D_LINE_HH
14#define DUMUX_MULTIDOMAIN_EMBEDDED_COUPLINGMANAGER_1D3D_LINE_HH
15
16#include <vector>
17
18#include <dumux/common/tag.hh>
21
23
24namespace Dumux {
25
26namespace Embedded1d3dCouplingMode {
27struct Line : public Utility::Tag<Line> {
28 static std::string name() { return "line"; }
29};
30
31inline constexpr Line line{};
32} // end namespace Embedded1d3dCouplingMode
33
34// forward declaration
35template<class MDTraits, class CouplingMode>
36class Embedded1d3dCouplingManager;
37
46template<class MDTraits>
47class Embedded1d3dCouplingManager<MDTraits, Embedded1d3dCouplingMode::Line>
48: public Embedded1d3dCouplingManagerBase<MDTraits, Embedded1d3dCouplingManager<MDTraits, Embedded1d3dCouplingMode::Line>>
49{
52
53public:
54 static constexpr Embedded1d3dCouplingMode::Line couplingMode{};
55
56 using ParentType::ParentType;
57};
58
60template<class MDTraits>
61struct CouplingManagerSupportsMultithreadedAssembly<Embedded1d3dCouplingManager<MDTraits, Embedded1d3dCouplingMode::Line>>
62: public std::true_type {};
63
64} // end namespace Dumux
65
66#endif
Manages the coupling between bulk elements and lower dimensional elements Point sources on each integ...
Definition: couplingmanager1d3d_line.hh:49
Manages the coupling between bulk elements and lower dimensional elements Point sources on each integ...
Definition: couplingmanager1d3dbase.hh:35
Manages the coupling between bulk elements and lower dimensional elements Point sources on each integ...
Definition: couplingmanager1d3d.hh:24
Defines all properties used in Dumux.
Coupling manager for low-dimensional domains embedded in the bulk domain.
Defines the index types used for grid and local indices.
constexpr Line line
Definition: couplingmanager1d3d_line.hh:31
Definition: adapt.hh:17
Type trait that is specialized for coupling manager supporting multithreaded assembly.
Definition: multistagemultidomainfvassembler.hh:78
Definition: couplingmanager1d3d_line.hh:27
static std::string name()
Definition: couplingmanager1d3d_line.hh:28
Helper class to create (named and comparable) tagged types Tags any given type. The tagged type is eq...
Definition: tag.hh:30
Helper class to create (named and comparable) tagged types.