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 FiniteDifferenceLocalLinearizer;
40struct ParallelBiCGStabLinearSolver;
41}
42
43namespace TTag {
44
47{ using InheritsFrom = std::tuple<FvBaseNewtonMethod, ImplicitModel>; };
48
49template<class TypeTag, template<class> class Storage>
50struct to_gpu_type {};
51
52template<class TypeTag, template <class> class Storage>
54
55} // namespace TTag
56
57
58template<class TypeTag, class MyTypeTag>
60template<class TypeTag, class MyTypeTag>
62
71template<class TypeTag, class MyTypeTag>
72struct Evaluation { using type = UndefinedProperty; };
73
75template<class TypeTag, class MyTypeTag>
76struct Stencil { using type = UndefinedProperty; };
77
79template<class TypeTag, class MyTypeTag>
81
82template<class TypeTag, class MyTypeTag>
84
86template<class TypeTag, class MyTypeTag>
87struct Problem { using type = UndefinedProperty; };
89template<class TypeTag, class MyTypeTag>
91
93template<class TypeTag, class MyTypeTag>
96template<class TypeTag, class MyTypeTag>
99template<class TypeTag, class MyTypeTag>
102template<class TypeTag, class MyTypeTag>
106template<class TypeTag, class MyTypeTag>
108
110template<class TypeTag, class MyTypeTag>
112
114template<class TypeTag, class MyTypeTag>
115struct EqVector { using type = UndefinedProperty; };
117template<class TypeTag, class MyTypeTag>
119
121template<class TypeTag, class MyTypeTag>
124template<class TypeTag, class MyTypeTag>
127template<class TypeTag, class MyTypeTag>
129
131template<class TypeTag, class MyTypeTag>
133
135template<class TypeTag, class MyTypeTag>
138template<class TypeTag, class MyTypeTag>
140
142template<class TypeTag, class MyTypeTag>
144
146
147template<class TypeTag, class MyTypeTag>
149
150template<class TypeTag, class MyTypeTag>
152
154template<class TypeTag, class MyTypeTag>
157template<class TypeTag, class MyTypeTag>
160template<class TypeTag, class MyTypeTag>
163template<class TypeTag, class MyTypeTag>
166template<class TypeTag, class MyTypeTag>
168
170template<class TypeTag, class MyTypeTag>
172
174template<class TypeTag, class MyTypeTag>
176
178template<class TypeTag, class MyTypeTag>
180
182template<class TypeTag, class MyTypeTag>
184
188template<class TypeTag, class MyTypeTag>
190
195template<class TypeTag, class MyTypeTag>
197
198// high-level simulation control
199
209template<class TypeTag, class MyTypeTag>
211
213template<class TypeTag, class MyTypeTag>
215
216// mappers from local to global DOF indices
217
221template<class TypeTag, class MyTypeTag>
223
227template<class TypeTag, class MyTypeTag>
229
233template<class TypeTag, class MyTypeTag>
234struct DofMapper { using type = UndefinedProperty; };
235
239template<class TypeTag, class MyTypeTag>
241
247template<class TypeTag, class MyTypeTag>
249
251template<class TypeTag, class MyTypeTag>
253
255template<class TypeTag, class MyTypeTag>
257
258// Set defaults
259
261template<class TypeTag>
262struct Splices<TypeTag, TTag::FvBaseDiscretization>
263{
264 using type = std::tuple<GetSplicePropType<TypeTag, TTag::FvBaseDiscretization, Properties::LinearSolverSplice>,
266};
267
269template<class TypeTag>
272
274template<class TypeTag>
277
278} // namespace Opm::Properties
279
280#endif
Defines a type tags and some fundamental properties all models.
The base class for the finite volume discretization schemes.
Definition: fvbasediscretization.hh:298
typename to_gpu_type< TypeTag, Storage >::type to_gpu_type_t
Definition: fvbaseproperties.hh:53
Definition: blackoilmodel.hh:75
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:111
The type of the base class for all problems which use this model.
Definition: fvbaseproperties.hh:90
The secondary variables of a boundary segment.
Definition: fvbaseproperties.hh:158
Type of object for specifying boundary conditions.
Definition: fvbaseproperties.hh:125
The secondary variables of a constraint degree of freedom.
Definition: fvbaseproperties.hh:161
The class which represents a constraint degree of freedom.
Definition: fvbaseproperties.hh:128
The part of the intensive quantities which is specific to the spatial discretization.
Definition: fvbaseproperties.hh:171
The part of the VTK ouput modules which is specific to the spatial discretization.
Definition: fvbaseproperties.hh:179
The part of the extensive quantities which is specific to the spatial discretization.
Definition: fvbaseproperties.hh:175
Definition: fvbaseproperties.hh:151
The discretization specific part of the local residual.
Definition: fvbaseproperties.hh:97
Definition: fvbaseproperties.hh:83
The class describing the discrete function space when dune-fem is used, otherwise it points to the st...
Definition: fvbaseproperties.hh:80
The type of the spatial discretization used by the model.
Definition: fvbaseproperties.hh:94
The mapper to find the global index of a degree of freedom.
Definition: fvbaseproperties.hh:234
The secondary variables of all degrees of freedom in an element's stencil.
Definition: fvbaseproperties.hh:155
A vector of holding a quantity for each equation for each DOF of an element.
Definition: fvbaseproperties.hh:118
The mapper to find the global index of an element.
Definition: fvbaseproperties.hh:228
Specify whether the some degrees of fredom can be constraint.
Definition: fvbaseproperties.hh:214
Specify if experimental features should be enabled or not.
Definition: fvbaseproperties.hh:256
A vector of holding a quantity for each equation (usually at a given spatial location)
Definition: fvbaseproperties.hh:115
Representation of a function evaluation and all necessary derivatives with regard to the intensive qu...
Definition: fvbaseproperties.hh:72
Data required to calculate a flux over a face.
Definition: fvbaseproperties.hh:164
Specify whether the storage terms use extensive quantities or not.
Definition: fvbaseproperties.hh:248
The blackoilmodel that is tailored for GPU compatibility.
Definition: fvbaseproperties.hh:143
Calculates gradients of arbitrary quantities at flux integration points.
Definition: fvbaseproperties.hh:167
The class to create grid communication handles.
Definition: fvbaseproperties.hh:183
The secondary variables within a sub-control volume.
Definition: fvbaseproperties.hh:139
Definition: fvbaseproperties.hh:59
Definition: fvbaseproperties.hh:107
The type of the local linearizer.
Definition: fvbaseproperties.hh:103
Definition: fvbaseproperties.hh:61
The type of the local residual function.
Definition: fvbaseproperties.hh:100
A vector of primary variables within a sub-control volume.
Definition: fvbaseproperties.hh:136
The type of the problem.
Definition: fvbaseproperties.hh:87
Vector containing volumetric or areal rates of quantities.
Definition: fvbaseproperties.hh:122
The discretization specific part of the intensive quantities.
Definition: fvbaseproperties.hh:148
Vector containing all primary variables of the grid.
Definition: fvbaseproperties.hh:132
std::tuple< GetSplicePropType< TypeTag, TTag::FvBaseDiscretization, Properties::LinearSolverSplice >, GetSplicePropType< TypeTag, TTag::FvBaseDiscretization, Properties::LocalLinearizerSplice > > type
Definition: fvbaseproperties.hh:265
Definition: propertysystem.hh:42
The class describing the stencil of the spatial discretization.
Definition: fvbaseproperties.hh:76
Definition: fvbasefdlocallinearizer.hh:65
The type tag for models based on the finite volume schemes.
Definition: fvbaseproperties.hh:47
std::tuple< FvBaseNewtonMethod, ImplicitModel > InheritsFrom
Definition: fvbaseproperties.hh:47
Definition: parallelbicgstabbackend.hh:52
Definition: fvbaseproperties.hh:50
The OpenMP threads manager.
Definition: fvbaseproperties.hh:189
The history size required by the time discretization.
Definition: fvbaseproperties.hh:240
a tag to mark properties as undefined
Definition: propertysystem.hh:38
Definition: fvbaseproperties.hh:196
Specify whether to use volumetric residuals or not.
Definition: fvbaseproperties.hh:252
The mapper to find the global index of a vertex.
Definition: fvbaseproperties.hh:222
Specify the format the VTK output is written to disk.
Definition: fvbaseproperties.hh:210