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
35namespace Opm::Properties {
36
37namespace TTag {
38struct FvBaseNewtonMethod;
39struct ParallelBiCGStabLinearSolver;
40}
41
42namespace TTag {
43
46{ using InheritsFrom = std::tuple<FvBaseNewtonMethod, ImplicitModel>; };
47
48template<class TypeTag, template<class> class Storage>
49struct to_gpu_type {};
50
51template<class TypeTag, template <class> class Storage>
53
54} // namespace TTag
55
56
57template<class TypeTag, class MyTypeTag>
59template<class TypeTag, class MyTypeTag>
61
70template<class TypeTag, class MyTypeTag>
71struct Evaluation { using type = UndefinedProperty; };
72
74template<class TypeTag, class MyTypeTag>
75struct Stencil { using type = UndefinedProperty; };
76
78template<class TypeTag, class MyTypeTag>
80
81template<class TypeTag, class MyTypeTag>
83
85template<class TypeTag, class MyTypeTag>
86struct Problem { using type = UndefinedProperty; };
88template<class TypeTag, class MyTypeTag>
90
92template<class TypeTag, class MyTypeTag>
95template<class TypeTag, class MyTypeTag>
98template<class TypeTag, class MyTypeTag>
101template<class TypeTag, class MyTypeTag>
105template<class TypeTag, class MyTypeTag>
107
109template<class TypeTag, class MyTypeTag>
111
113template<class TypeTag, class MyTypeTag>
114struct EqVector { using type = UndefinedProperty; };
116template<class TypeTag, class MyTypeTag>
118
120template<class TypeTag, class MyTypeTag>
123template<class TypeTag, class MyTypeTag>
126template<class TypeTag, class MyTypeTag>
128
130template<class TypeTag, class MyTypeTag>
132
134template<class TypeTag, class MyTypeTag>
137template<class TypeTag, class MyTypeTag>
139
141template<class TypeTag, class MyTypeTag>
143
145
146template<class TypeTag, class MyTypeTag>
148
149template<class TypeTag, class MyTypeTag>
151
153template<class TypeTag, class MyTypeTag>
156template<class TypeTag, class MyTypeTag>
159template<class TypeTag, class MyTypeTag>
162template<class TypeTag, class MyTypeTag>
165template<class TypeTag, class MyTypeTag>
167
169template<class TypeTag, class MyTypeTag>
171
173template<class TypeTag, class MyTypeTag>
175
177template<class TypeTag, class MyTypeTag>
179
181template<class TypeTag, class MyTypeTag>
183
187template<class TypeTag, class MyTypeTag>
189
194template<class TypeTag, class MyTypeTag>
196
197// high-level simulation control
198
208template<class TypeTag, class MyTypeTag>
210
212template<class TypeTag, class MyTypeTag>
214
215// mappers from local to global DOF indices
216
220template<class TypeTag, class MyTypeTag>
222
226template<class TypeTag, class MyTypeTag>
228
232template<class TypeTag, class MyTypeTag>
233struct DofMapper { using type = UndefinedProperty; };
234
238template<class TypeTag, class MyTypeTag>
240
246template<class TypeTag, class MyTypeTag>
248
250template<class TypeTag, class MyTypeTag>
252
254template<class TypeTag, class MyTypeTag>
256
257// Set defaults
258
260template<class TypeTag>
261struct Splices<TypeTag, TTag::FvBaseDiscretization>
262{
263 using type = std::tuple<GetSplicePropType<TypeTag, TTag::FvBaseDiscretization, Properties::LinearSolverSplice>,
265};
266
268template<class TypeTag>
271
272} // namespace Opm::Properties
273
274#endif
Defines a type tags and some fundamental properties all models.
The base class for the finite volume discretization schemes.
Definition: fvbasediscretization.hh:296
typename to_gpu_type< TypeTag, Storage >::type to_gpu_type_t
Definition: fvbaseproperties.hh:52
Definition: blackoilmodel.hh:74
typename Properties::Detail::GetSplicePropImpl< TypeTag, SpliceTypeTag, Property >::type::type GetSplicePropType
Definition: propertysystem.hh:236
Linearizes the global non-linear system of equations.
Definition: fvbaseproperties.hh:110
The type of the base class for all problems which use this model.
Definition: fvbaseproperties.hh:89
The secondary variables of a boundary segment.
Definition: fvbaseproperties.hh:157
Type of object for specifying boundary conditions.
Definition: fvbaseproperties.hh:124
The secondary variables of a constraint degree of freedom.
Definition: fvbaseproperties.hh:160
The class which represents a constraint degree of freedom.
Definition: fvbaseproperties.hh:127
The part of the intensive quantities which is specific to the spatial discretization.
Definition: fvbaseproperties.hh:170
The part of the VTK ouput modules which is specific to the spatial discretization.
Definition: fvbaseproperties.hh:178
The part of the extensive quantities which is specific to the spatial discretization.
Definition: fvbaseproperties.hh:174
Definition: fvbaseproperties.hh:150
The discretization specific part of the local residual.
Definition: fvbaseproperties.hh:96
Definition: fvbaseproperties.hh:82
The class describing the discrete function space when dune-fem is used, otherwise it points to the st...
Definition: fvbaseproperties.hh:79
The type of the spatial discretization used by the model.
Definition: fvbaseproperties.hh:93
The mapper to find the global index of a degree of freedom.
Definition: fvbaseproperties.hh:233
The secondary variables of all degrees of freedom in an element's stencil.
Definition: fvbaseproperties.hh:154
A vector of holding a quantity for each equation for each DOF of an element.
Definition: fvbaseproperties.hh:117
The mapper to find the global index of an element.
Definition: fvbaseproperties.hh:227
Specify whether the some degrees of fredom can be constraint.
Definition: fvbaseproperties.hh:213
Specify if experimental features should be enabled or not.
Definition: fvbaseproperties.hh:255
A vector of holding a quantity for each equation (usually at a given spatial location)
Definition: fvbaseproperties.hh:114
Representation of a function evaluation and all necessary derivatives with regard to the intensive qu...
Definition: fvbaseproperties.hh:71
Data required to calculate a flux over a face.
Definition: fvbaseproperties.hh:163
Specify whether the storage terms use extensive quantities or not.
Definition: fvbaseproperties.hh:247
The blackoilmodel that is tailored for GPU compatibility.
Definition: fvbaseproperties.hh:142
Calculates gradients of arbitrary quantities at flux integration points.
Definition: fvbaseproperties.hh:166
The class to create grid communication handles.
Definition: fvbaseproperties.hh:182
The secondary variables within a sub-control volume.
Definition: fvbaseproperties.hh:138
Definition: fvbaseproperties.hh:58
Definition: fvbaseproperties.hh:106
The type of the local linearizer.
Definition: fvbaseproperties.hh:102
Definition: fvbaseproperties.hh:60
The type of the local residual function.
Definition: fvbaseproperties.hh:99
A vector of primary variables within a sub-control volume.
Definition: fvbaseproperties.hh:135
The type of the problem.
Definition: fvbaseproperties.hh:86
Vector containing volumetric or areal rates of quantities.
Definition: fvbaseproperties.hh:121
The discretization specific part of the intensive quantities.
Definition: fvbaseproperties.hh:147
Vector containing all primary variables of the grid.
Definition: fvbaseproperties.hh:131
std::tuple< GetSplicePropType< TypeTag, TTag::FvBaseDiscretization, Properties::LinearSolverSplice >, GetSplicePropType< TypeTag, TTag::FvBaseDiscretization, Properties::LocalLinearizerSplice > > type
Definition: fvbaseproperties.hh:264
Definition: propertysystem.hh:42
The class describing the stencil of the spatial discretization.
Definition: fvbaseproperties.hh:75
The type tag for models based on the finite volume schemes.
Definition: fvbaseproperties.hh:46
std::tuple< FvBaseNewtonMethod, ImplicitModel > InheritsFrom
Definition: fvbaseproperties.hh:46
Definition: parallelbicgstabbackend.hh:52
Definition: fvbaseproperties.hh:49
The OpenMP threads manager.
Definition: fvbaseproperties.hh:188
The history size required by the time discretization.
Definition: fvbaseproperties.hh:239
a tag to mark properties as undefined
Definition: propertysystem.hh:38
Definition: fvbaseproperties.hh:195
Specify whether to use volumetric residuals or not.
Definition: fvbaseproperties.hh:251
The mapper to find the global index of a vertex.
Definition: fvbaseproperties.hh:221
Specify the format the VTK output is written to disk.
Definition: fvbaseproperties.hh:209