3.1-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
50NEW_TYPE_TAG(SequentialTwoPTwoCAdaptive, INHERITS_FROM(SequentialTwoPTwoC));
51}}
52
53//Dumux includes
60
61namespace Dumux {
62namespace Properties {
64// Properties
66SET_BOOL_PROP(SequentialTwoPTwoCAdaptive, AdaptiveGrid, true);
67SET_TYPE_PROP(SequentialTwoPTwoCAdaptive, GridTypeIndices, GridTypes);
68
72// Set the model properties
75}
76
77
87template <class TypeTag>
89{
90 static const int pressureIdx = 0;
91 static const int saturationIdx = 0;
92 static const int pressureEqIdx = 0;
93 static const int satEqIdx = 0;
94};
95
96// \}
97
98} // end namespace Dumux
99
100#endif
Provides the magic behind the DuMuX property system.
#define NEW_TYPE_TAG(...)
Definition: propertysystemmacros.hh:130
Finite Volume Diffusion Model.
Finite volume discretization of the component transport equation.
Finite volume diffusion model.
Finite volume discretization of the component transport equation.
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Property tag Variables
The type of the container of global variables.
Definition: porousmediumflow/sequential/properties.hh:71
Property tag CellData
Defines data object to be stored.
Definition: porousmediumflow/sequential/properties.hh:72
SET_TYPE_PROP(FVPressureOneP, Velocity, FVVelocity1P< TypeTag >)
Set velocity reconstruction implementation standard cell centered finite volume schemes as default.
Property tag TransportModel
The type of the discretization of a transport model.
Definition: porousmediumflow/sequential/properties.hh:66
Type tag FVPressureOneP INHERITS_FROM(PressureOneP))
The type tag for the one-phase problems using a standard finite volume model.
Property tag Indices
Definition: porousmediumflow/sequential/properties.hh:59
Property tag AdaptiveGrid
Defines if the grid is h-adaptive.
Definition: gridadaptproperties.hh:49
Property tag GridTypeIndices
The grid type indices to decide which grid is used.
Definition: porousmediumflow/sequential/cellcentered/mpfa/properties.hh:94
SET_BOOL_PROP(FVPressureOneP, VisitFacesOnlyOnce, true)
Allow assembling algorithm for the pressure matrix to assemble only from one side of a cell-cell inte...
Property tag PressureModel
The type of the discretization of a pressure model.
Definition: porousmediumflow/sequential/properties.hh:65
Missing indices to the mpfa2p model.
Definition: adaptiveproperties.hh:89
static const int pressureIdx
Definition: adaptiveproperties.hh:90
static const int satEqIdx
Definition: adaptiveproperties.hh:93
static const int saturationIdx
Definition: adaptiveproperties.hh:91
static const int pressureEqIdx
Definition: adaptiveproperties.hh:92
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
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:157
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:48
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.