opm-simulators
Toggle main menu visibility
Loading...
Searching...
No Matches
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
Opm::Parameters::ContinueOnConvergenceError
Continue with a non-converged solution instead of giving up if we encounter a time step size smaller ...
Definition
fvbaseparameters.hh:42
Opm::Parameters::EnableAsyncVtkOutput
Determines if the VTK output is written to disk asynchronously.
Definition
fvbaseparameters.hh:53
Opm::Parameters::EnableGridAdaptation
Switch to enable or disable grid adaptation.
Definition
fvbaseparameters.hh:61
Opm::Parameters::EnableIntensiveQuantityCache
Specify whether all intensive quantities for the grid should be cached in the discretization.
Definition
fvbaseparameters.hh:72
Opm::Parameters::EnableStorageCache
Specify whether the storage terms for previous solutions should be cached.
Definition
fvbaseparameters.hh:80
Opm::Parameters::EnableThermodynamicHints
Specify whether to use the already calculated solutions as starting values of the intensive quantitie...
Definition
fvbaseparameters.hh:90
Opm::Parameters::EnableVtkOutput
Global switch to enable or disable the writing of VTK output files.
Definition
fvbaseparameters.hh:98
Opm::Parameters::MaxTimeStepDivisions
The maximum allowed number of timestep divisions for the Newton solver.
Definition
fvbaseparameters.hh:112
Opm::Parameters::MaxTimeStepSize
Specify the maximum size of a time integration [s].
Definition
fvbaseparameters.hh:106
Opm::Parameters::MinTimeStepSize
Specify the minimal size of a time integration [s].
Definition
fvbaseparameters.hh:120
Opm::Parameters::OutputDir
The directory to which simulation output ought to be written to.
Definition
fvbaseparameters.hh:125
Opm::Parameters::ThreadsPerProcess
Number of threads per process.
Definition
fvbaseparameters.hh:128
opm
models
discretization
common
fvbaseparameters.hh
Generated by
1.17.0