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