3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
propertiesadaptive.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_IMPES2PADAPTIVE_PROPERTIES_HH
25#define DUMUX_IMPES2PADAPTIVE_PROPERTIES_HH
26
29
30namespace Dumux {
31namespace Properties {
38// Type tags tags
40
42// Create new type tags
43namespace TTag {
44struct IMPESTwoPAdaptive { using InheritsFrom = std::tuple<SequentialTwoP, IMPET>; };
45} // end namespace TTag
46
48// Property tags
50} // end namespace Properties
51} // end namespace Dumux
52
58
59namespace Dumux {
60namespace Properties {
62template<class TypeTag>
63struct AdaptiveGrid<TypeTag, TTag::IMPESTwoPAdaptive> { static constexpr bool value = true; };
65template<class TypeTag>
66struct Variables<TypeTag, TTag::IMPESTwoPAdaptive> { using type = VariableClassAdaptive<TypeTag>; };
68template<class TypeTag>
69struct CellData<TypeTag, TTag::IMPESTwoPAdaptive> { using type = CellData2PAdaptive<TypeTag>; };
71template<class TypeTag>
72struct AdaptionIndicator<TypeTag, TTag::IMPESTwoPAdaptive> { using type = GridAdaptionIndicator2P<TypeTag>; };
74template<class TypeTag>
75struct AdaptionInitializationIndicator<TypeTag, TTag::IMPESTwoPAdaptive> { using type = GridAdaptInitializationIndicator<TypeTag>; };
76} // end namespace Properties
77} // end namespace Dumux
78
79#endif
Class defining a standard, saturation dependent indicator for grid adaption.
Class defining a start indicator for grid adaption.
Base file for properties related to sequential IMPET algorithms.
Definition: adapt.hh:29
Class defining an initialization indicator for grid adaption. Refines at sources and boundaries....
Definition: initializationindicator.hh:45
Class including the data of a grid cell needed if an adaptive grid is used.
Definition: sequential/celldataadaptive.hh:43
Class defining a standard, saturation dependent indicator for grid adaption.
Definition: gridadaptionindicator.hh:41
Definition: propertiesadaptive.hh:44
std::tuple< SequentialTwoP, IMPET > InheritsFrom
Definition: propertiesadaptive.hh:44
Defines if the grid is h-adaptive.
Definition: gridadaptproperties.hh:52
Class defining the refinement/coarsening indicator.
Definition: gridadaptproperties.hh:60
Class defining the refinement/coarsening indicator for grid initialization.
Definition: gridadaptproperties.hh:64
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 class holding the variables and discretized data for sequential models.
Definition: sequential/variableclassadaptive.hh:47
Defines the properties required for (immiscible) two-phase sequential models.
Base class for all 2-phase problems which use an IMPES algorithm.
Class including the data of a grid cell needed if an adaptive grid is used.
Base class holding the variables for sequential models.