3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
adaptiveproperties.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 *****************************************************************************/
24#ifndef DUMUX_2P2CADAPTIVE_PROPERTIES_HH
25#define DUMUX_2P2CADAPTIVE_PROPERTIES_HH
26
30
31namespace Dumux {
32
33//****** forward declarations ******//
34template<class TypeTag>
35struct SequentialTwoPTwoCIndicesAdaptive;
36template<class TypeTag>
37class FV2dPressure2P2CAdaptive;
38template<class TypeTag>
39class FV2dTransport2P2CAdaptive;
40
42// properties
44namespace Properties {
45
47// Type tags
50// Create new type tags
51namespace TTag {
52struct SequentialTwoPTwoCAdaptive { using InheritsFrom = std::tuple<SequentialTwoPTwoC>; };
53} // end namespace TTag
54}}
55
56//Dumux includes
63
64namespace Dumux {
65namespace Properties {
67// Properties
69template<class TypeTag>
70struct AdaptiveGrid<TypeTag, TTag::SequentialTwoPTwoCAdaptive> { static constexpr bool value = true; };
71template<class TypeTag>
72struct GridTypeIndices<TypeTag, TTag::SequentialTwoPTwoCAdaptive> { using type = GridTypes; };
73
74template<class TypeTag>
75struct CellData<TypeTag, TTag::SequentialTwoPTwoCAdaptive> { using type = CellData2P2CAdaptive<TypeTag>; };
76template<class TypeTag>
77struct Variables<TypeTag, TTag::SequentialTwoPTwoCAdaptive> { using type = VariableClass2P2CAdaptive<TypeTag>; };
78template<class TypeTag>
79struct Indices<TypeTag, TTag::SequentialTwoPTwoCAdaptive> { using type = SequentialTwoPTwoCIndicesAdaptive<TypeTag>; };
80// Set the model properties
81template<class TypeTag>
82struct TransportModel<TypeTag, TTag::SequentialTwoPTwoCAdaptive> { using type = FV2dTransport2P2CAdaptive<TypeTag>; };
83template<class TypeTag>
84struct PressureModel<TypeTag, TTag::SequentialTwoPTwoCAdaptive> { using type = FV2dPressure2P2CAdaptive<TypeTag>; };
85}
86
87
97template <class TypeTag>
99{
100 static const int pressureIdx = 0;
101 static const int saturationIdx = 0;
102 static const int pressureEqIdx = 0;
103 static const int satEqIdx = 0;
104};
105
106// \}
107
108} // end namespace Dumux
109
110#endif
Finite Volume Diffusion Model.
Finite volume discretization of the component transport equation.
Finite volume diffusion model.
Finite volume discretization of the component transport equation.
Definition: adapt.hh:29
Missing indices to the mpfa2p model.
Definition: adaptiveproperties.hh:99
static const int pressureIdx
Definition: adaptiveproperties.hh:100
static const int satEqIdx
Definition: adaptiveproperties.hh:103
static const int saturationIdx
Definition: adaptiveproperties.hh:101
static const int pressureEqIdx
Definition: adaptiveproperties.hh:102
The finite volume model for the solution of the compositional pressure equation.
Definition: fv2dpressureadaptive.hh:78
Compositional Transport step in a Finite Volume discretization for a adaptive 2D-grid.
Definition: fv2dtransportadaptive.hh:57
Definition: adaptiveproperties.hh:52
std::tuple< SequentialTwoPTwoC > InheritsFrom
Definition: adaptiveproperties.hh:52
Class including the data of a grid cell needed if an adaptive grid is used.
Definition: c/sequential/celldataadaptive.hh:45
The common indices for the 2p2c model.
Definition: porousmediumflow/2p2c/sequential/properties.hh:170
Class holding additionally mpfa data of adaptive compositional models.
Definition: 2p2c/sequential/variableclassadaptive.hh:47
Indices denoting the different grid types.
Definition: porousmediumflow/sequential/cellcentered/mpfa/properties.hh:49
The grid type indices to decide which grid is used.
Definition: porousmediumflow/sequential/cellcentered/mpfa/properties.hh:98
Defines if the grid is h-adaptive.
Definition: gridadaptproperties.hh:52
Definition: porousmediumflow/sequential/properties.hh:66
The type of the discretization of a pressure model.
Definition: porousmediumflow/sequential/properties.hh:75
The type of the discretization of a transport model.
Definition: porousmediumflow/sequential/properties.hh:77
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
Declares all properties used in Dumux.
Defines the properties required for the sequential 2p2c models.
Properties for a MPFA method.
Class including the variables and data of discretized data of the constitutive relations for one elem...
Base class holding the variables for sequential models.