3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
porousmediumflow/1p/sequential/properties.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 *****************************************************************************/
25#ifndef DUMUX_1PPROPERTIES_HH
26#define DUMUX_1PPROPERTIES_HH
27
28//Dumux-includes
31
32namespace Dumux {
33
35// forward declarations
37template <class TypeTag>
38class CellData1P;
39
41// properties
43namespace Properties {
44
46// Type tags
48
50// Create new type tags
51namespace TTag {
52struct SequentialOneP { using InheritsFrom = std::tuple<SequentialModel>; };
53} // end namespace TTag
54
56// Property tags
58template<class TypeTag, class MyTypeTag>
59struct Fluid { using type = UndefinedProperty; }; // The fluid for one-phase models
60} // end namespace Properties
61} // end namespace Dumux
62
67
68namespace Dumux {
69namespace Properties {
71// Properties
73
75template<class TypeTag>
76struct NumEq<TypeTag, TTag::SequentialOneP> { static constexpr int value = 1; };
77
79template<class TypeTag>
80struct NumPhases<TypeTag, TTag::SequentialOneP> { static constexpr int value = 1; };
81
83template<class TypeTag>
84struct NumComponents<TypeTag, TTag::SequentialOneP> { static constexpr int value = 1; };
85
87template<class TypeTag>
88struct Indices<TypeTag, TTag::SequentialOneP> { using type = SequentialOnePCommonIndices; };
89
91template<class TypeTag>
92struct Variables<TypeTag, TTag::SequentialOneP> { using type = VariableClass<TypeTag>; };
93
95template<class TypeTag>
96struct CellData<TypeTag, TTag::SequentialOneP> { using type = CellData1P<TypeTag>; };
97
99template<class TypeTag>
100struct SpatialParams<TypeTag, TTag::SequentialOneP> { using type = SequentialFVSpatialParamsOneP<TypeTag>; };
101} // end namespace Properties
102} // end namespace Dumux
103#endif
Dumux sequential linear solver backends.
The base class for spatial parameters of problems using the fv method.
Base class holding the variables for sequential models.
Definition: adapt.hh:29
The type of the spatial parameters object.
Definition: common/properties.hh:153
a tag to mark properties as undefined
Definition: propertysystem.hh:36
The base class for spatial parameters of problems using the fv method.
Definition: sequentialfv1p.hh:42
Class including data of one grid cell.
Definition: 1p/sequential/celldata.hh:48
The common indices for the 1-p models.
Definition: porousmediumflow/1p/sequential/indices.hh:38
Definition: porousmediumflow/1p/sequential/properties.hh:52
std::tuple< SequentialModel > InheritsFrom
Definition: porousmediumflow/1p/sequential/properties.hh:52
Definition: porousmediumflow/1p/sequential/properties.hh:59
Base class holding the variables and discretized data for sequential models.
Definition: variableclass.hh:49
Definition: porousmediumflow/sequential/properties.hh:64
Number of equations in the system of PDEs.
Definition: porousmediumflow/sequential/properties.hh:81
Number of phases in the system.
Definition: porousmediumflow/sequential/properties.hh:83
Number of components in the system.
Definition: porousmediumflow/sequential/properties.hh:85
The type of the container of global variables.
Definition: porousmediumflow/sequential/properties.hh:87
Defines data object to be stored.
Definition: porousmediumflow/sequential/properties.hh:89
Base file for properties related to sequential models.
Defines the indices required for the sequential one-phase model.
Class including data of one grid cell.