opm-simulators
fvbaseparameters.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_PARAMETERS_HH
31 #define EWOMS_FV_BASE_PARAMETERS_HH
32 
33 #include <limits>
34 
35 namespace Opm::Parameters {
36 
42 struct ContinueOnConvergenceError { static constexpr bool value = false; };
43 
53 struct EnableAsyncVtkOutput { static constexpr bool value = true; };
54 
61 struct EnableGridAdaptation { static constexpr bool value = false; };
62 
72 struct EnableIntensiveQuantityCache { static constexpr bool value = false; };
73 
80 struct EnableStorageCache { static constexpr bool value = false; };
81 
90 struct EnableThermodynamicHints { static constexpr bool value = false; };
91 
98 struct EnableVtkOutput { static constexpr bool value = true; };
99 
105 template<class Scalar>
106 struct MaxTimeStepSize { static constexpr Scalar value = std::numeric_limits<Scalar>::infinity(); };
107 
112 struct MaxTimeStepDivisions { static constexpr unsigned value = 10; };
113 
119 template<class Scalar>
120 struct MinTimeStepSize { static constexpr Scalar value = 0.0; };
121 
125 struct OutputDir { static constexpr auto value = ""; };
126 
128 struct ThreadsPerProcess { static constexpr int value = 1; };
129 
130 } // namespace Opm::Parameters
131 
132 #endif
Continue with a non-converged solution instead of giving up if we encounter a time step size smaller ...
Definition: fvbaseparameters.hh:42
Specify whether all intensive quantities for the grid should be cached in the discretization.
Definition: fvbaseparameters.hh:72
Switch to enable or disable grid adaptation.
Definition: fvbaseparameters.hh:61
Number of threads per process.
Definition: fvbaseparameters.hh:128
The directory to which simulation output ought to be written to.
Definition: fvbaseparameters.hh:125
Definition: blackoilnewtonmethodparams.hpp:31
Specify the maximum size of a time integration [s].
Definition: fvbaseparameters.hh:106
Specify whether the storage terms for previous solutions should be cached.
Definition: fvbaseparameters.hh:80
Global switch to enable or disable the writing of VTK output files.
Definition: fvbaseparameters.hh:98
Specify the minimal size of a time integration [s].
Definition: fvbaseparameters.hh:120
Specify whether to use the already calculated solutions as starting values of the intensive quantitie...
Definition: fvbaseparameters.hh:90
The maximum allowed number of timestep divisions for the Newton solver.
Definition: fvbaseparameters.hh:112
Determines if the VTK output is written to disk asynchronously.
Definition: fvbaseparameters.hh:53