3.1-git
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
44NEW_TYPE_TAG(Transport, INHERITS_FROM(SequentialModel));
45
47// Property tags
51
59template<class TypeTag>
60struct TransportSolutionType<TypeTag, TTag::Transport>
61{
62 private:
63 using SolutionType = typename GET_PROP(TypeTag, SolutionTypes);
64
65 public:
66 using type = typename SolutionType::ScalarSolution;
67};
68}
69}
70
71#endif
#define GET_PROP(TypeTag, PropTagName)
Definition: propertysystemmacros.hh:281
#define NEW_TYPE_TAG(...)
Definition: propertysystemmacros.hh:130
#define NEW_PROP_TAG(PTagName)
Define a property tag.
Definition: propertysystemmacros.hh:159
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Property tag TransportSolutionType
Definition: transportproperties.hh:49
Type tag FVPressureOneP INHERITS_FROM(PressureOneP))
The type tag for the one-phase problems using a standard finite volume model.
Property tag EvalCflFluxFunction
Type of the evaluation of the CFL-condition.
Definition: transportproperties.hh:50
Property tag SolutionTypes
Definition: porousmediumflow/sequential/properties.hh:58
typename SolutionType::ScalarSolution type
type for vector of scalar properties
Definition: transportproperties.hh:66
Base file for properties related to sequential models.