3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
transportproperties.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 * See the file COPYING for full copying permissions. *
5 * *
6 * This program is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation, either version 3 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
18 *****************************************************************************/
19#ifndef DUMUX_TRANSPORT_PROPERTIES_HH
20#define DUMUX_TRANSPORT_PROPERTIES_HH
21
22#include "properties.hh"
23
32namespace Dumux
33{
34
35namespace Properties
36{
37// \{
38
40// Type tags tags
42
44// Create new type tags
45namespace TTag {
46struct Transport { using InheritsFrom = std::tuple<SequentialModel>; };
47} // end namespace TTag
48
50// Property tags
52template<class TypeTag, class MyTypeTag>
54template<class TypeTag, class MyTypeTag>
56
64template<class TypeTag>
65struct TransportSolutionType<TypeTag, TTag::Transport>
66{
67 private:
69
70 public:
71 using type = typename SolutionType::ScalarSolution;
72};
73}
74}
75
76#endif
Definition: adapt.hh:29
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type GetProp
get the type of a property (equivalent to old macro GET_PROP(...))
Definition: propertysystem.hh:140
a tag to mark properties as undefined
Definition: propertysystem.hh:36
Definition: transportproperties.hh:46
std::tuple< SequentialModel > InheritsFrom
Definition: transportproperties.hh:46
Definition: transportproperties.hh:53
Type of the evaluation of the CFL-condition.
Definition: transportproperties.hh:55
typename SolutionType::ScalarSolution type
type for vector of scalar properties
Definition: transportproperties.hh:71
Base file for properties related to sequential models.