opm-simulators
fvbaseproperties.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  This file is part of the Open Porous Media project (OPM).
5 
6  OPM 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 2 of the License, or
9  (at your option) any later version.
10 
11  OPM 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 OPM. If not, see <http://www.gnu.org/licenses/>.
18 
19  Consult the COPYING file in the top-level source directory of this
20  module for the precise wording of the license and the list of
21  copyright holders.
22 */
30 #ifndef EWOMS_FV_BASE_PROPERTIES_HH
31 #define EWOMS_FV_BASE_PROPERTIES_HH
32 
34 
35 namespace Opm::Properties {
36 
37 namespace TTag {
38 struct FvBaseNewtonMethod;
39 struct FiniteDifferenceLocalLinearizer;
40 struct ParallelBiCGStabLinearSolver;
41 }
42 
43 namespace TTag {
44 
47 { using InheritsFrom = std::tuple<FvBaseNewtonMethod, ImplicitModel>; };
48 
49 } // namespace TTag
50 
51 
52 template<class TypeTag, class MyTypeTag>
54 template<class TypeTag, class MyTypeTag>
56 
65 template<class TypeTag, class MyTypeTag>
66 struct Evaluation { using type = UndefinedProperty; };
67 
69 template<class TypeTag, class MyTypeTag>
70 struct Stencil { using type = UndefinedProperty; };
71 
73 template<class TypeTag, class MyTypeTag>
75 
76 template<class TypeTag, class MyTypeTag>
78 
80 template<class TypeTag, class MyTypeTag>
81 struct Problem { using type = UndefinedProperty; };
83 template<class TypeTag, class MyTypeTag>
84 struct BaseProblem { using type = UndefinedProperty; };
85 
87 template<class TypeTag, class MyTypeTag>
90 template<class TypeTag, class MyTypeTag>
93 template<class TypeTag, class MyTypeTag>
94 struct LocalResidual { using type = UndefinedProperty; };
96 template<class TypeTag, class MyTypeTag>
100 template<class TypeTag, class MyTypeTag>
102 
104 template<class TypeTag, class MyTypeTag>
106 
108 template<class TypeTag, class MyTypeTag>
109 struct EqVector { using type = UndefinedProperty; };
111 template<class TypeTag, class MyTypeTag>
113 
115 template<class TypeTag, class MyTypeTag>
116 struct RateVector { using type = UndefinedProperty; };
118 template<class TypeTag, class MyTypeTag>
121 template<class TypeTag, class MyTypeTag>
122 struct Constraints { using type = UndefinedProperty; };
123 
125 template<class TypeTag, class MyTypeTag>
127 
129 template<class TypeTag, class MyTypeTag>
132 template<class TypeTag, class MyTypeTag>
135 
136 template<class TypeTag, class MyTypeTag>
138 
139 template<class TypeTag, class MyTypeTag>
141 
143 template<class TypeTag, class MyTypeTag>
146 template<class TypeTag, class MyTypeTag>
149 template<class TypeTag, class MyTypeTag>
152 template<class TypeTag, class MyTypeTag>
155 template<class TypeTag, class MyTypeTag>
157 
159 template<class TypeTag, class MyTypeTag>
161 
163 template<class TypeTag, class MyTypeTag>
165 
167 template<class TypeTag, class MyTypeTag>
169 
171 template<class TypeTag, class MyTypeTag>
173 
177 template<class TypeTag, class MyTypeTag>
179 
184 template<class TypeTag, class MyTypeTag>
186 
187 // high-level simulation control
188 
198 template<class TypeTag, class MyTypeTag>
200 
202 template<class TypeTag, class MyTypeTag>
204 
205 // mappers from local to global DOF indices
206 
210 template<class TypeTag, class MyTypeTag>
211 struct VertexMapper { using type = UndefinedProperty; };
212 
216 template<class TypeTag, class MyTypeTag>
218 
222 template<class TypeTag, class MyTypeTag>
223 struct DofMapper { using type = UndefinedProperty; };
224 
228 template<class TypeTag, class MyTypeTag>
230 
236 template<class TypeTag, class MyTypeTag>
238 
240 template<class TypeTag, class MyTypeTag>
242 
244 template<class TypeTag, class MyTypeTag>
246 
247 // Set defaults
248 
250 template<class TypeTag>
251 struct Splices<TypeTag, TTag::FvBaseDiscretization>
252 {
253  using type = std::tuple<GetSplicePropType<TypeTag, TTag::FvBaseDiscretization, Properties::LinearSolverSplice>,
254  GetSplicePropType<TypeTag, TTag::FvBaseDiscretization, Properties::LocalLinearizerSplice>>;
255 };
256 
258 template<class TypeTag>
261 
263 template<class TypeTag>
266 
267 } // namespace Opm::Properties
268 
269 #endif
Calculates gradients of arbitrary quantities at flux integration points.
Definition: fvbaseproperties.hh:156
The class describing the stencil of the spatial discretization.
Definition: fvbaseproperties.hh:70
The type tag for models based on the finite volume schemes.
Definition: fvbaseproperties.hh:46
The type of the base class for all problems which use this model.
Definition: fvbaseproperties.hh:84
The type of the spatial discretization used by the model.
Definition: fvbaseproperties.hh:88
The type of the local residual function.
Definition: fvbaseproperties.hh:94
The base class for the finite volume discretization schemes.
Definition: fvbasediscretization.hh:87
The mapper to find the global index of an element.
Definition: fvbaseproperties.hh:217
Specify if elements that do not belong to the local process&#39; grid partition should be skipped...
Definition: fvbaseproperties.hh:101
The type of the local linearizer.
Definition: fvbaseproperties.hh:97
Linearizes the global non-linear system of equations.
Definition: fvbaseproperties.hh:105
Definition: propertysystem.hh:41
The discretization specific part of the local residual.
Definition: fvbaseproperties.hh:91
use locking to prevent race conditions when linearizing the global system of equations in multi-threa...
Definition: fvbaseproperties.hh:185
Specify whether the storage terms use extensive quantities or not.
Definition: fvbaseproperties.hh:237
The mapper to find the global index of a vertex.
Definition: fvbaseproperties.hh:211
a tag to mark properties as undefined
Definition: propertysystem.hh:38
The OpenMP threads manager.
Definition: fvbaseproperties.hh:178
A vector of holding a quantity for each equation (usually at a given spatial location) ...
Definition: fvbaseproperties.hh:109
Specify whether the some degrees of fredom can be constraint.
Definition: fvbaseproperties.hh:203
The part of the VTK ouput modules which is specific to the spatial discretization.
Definition: fvbaseproperties.hh:168
The discretization specific part of the intensive quantities.
Definition: fvbaseproperties.hh:137
Vector containing volumetric or areal rates of quantities.
Definition: fvbaseproperties.hh:116
Type of object for specifying boundary conditions.
Definition: fvbaseproperties.hh:119
Data required to calculate a flux over a face.
Definition: fvbaseproperties.hh:153
The secondary variables of all degrees of freedom in an element&#39;s stencil.
Definition: fvbaseproperties.hh:144
Definition: fvbaseproperties.hh:140
Definition: fvbaseproperties.hh:55
The secondary variables of a constraint degree of freedom.
Definition: fvbaseproperties.hh:150
The class which represents a constraint degree of freedom.
Definition: fvbaseproperties.hh:122
The class describing the discrete function space when dune-fem is used, otherwise it points to the st...
Definition: fvbaseproperties.hh:74
The secondary variables within a sub-control volume.
Definition: fvbaseproperties.hh:133
Definition: fvbaseproperties.hh:53
The part of the extensive quantities which is specific to the spatial discretization.
Definition: fvbaseproperties.hh:164
Specify if experimental features should be enabled or not.
Definition: fvbaseproperties.hh:245
Definition: fvbasefdlocallinearizer.hh:65
The class to create grid communication handles.
Definition: fvbaseproperties.hh:172
The type of the problem.
Definition: fvbaseproperties.hh:81
The mapper to find the global index of a degree of freedom.
Definition: fvbaseproperties.hh:223
A vector of holding a quantity for each equation for each DOF of an element.
Definition: fvbaseproperties.hh:112
The history size required by the time discretization.
Definition: fvbaseproperties.hh:229
Specify the format the VTK output is written to disk.
Definition: fvbaseproperties.hh:199
Vector containing all primary variables of the grid.
Definition: fvbaseproperties.hh:126
The part of the intensive quantities which is specific to the spatial discretization.
Definition: fvbaseproperties.hh:160
Representation of a function evaluation and all necessary derivatives with regard to the intensive qu...
Definition: fvbaseproperties.hh:66
Definition: blackoilmodel.hh:80
Definition: parallelbicgstabbackend.hh:51
Defines a type tags and some fundamental properties all models.
The secondary variables of a boundary segment.
Definition: fvbaseproperties.hh:147
A vector of primary variables within a sub-control volume.
Definition: fvbaseproperties.hh:130
Definition: fvbaseproperties.hh:77
Specify whether to use volumetric residuals or not.
Definition: fvbaseproperties.hh:241