basicparameters.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*/
28#ifndef EWOMS_BASIC_PARAMETERS_HH
29#define EWOMS_BASIC_PARAMETERS_HH
30
31namespace Opm::Parameters {
32
34struct CellsX { static constexpr unsigned value = 1; };
35struct CellsY { static constexpr unsigned value = 1; };
36struct CellsZ { static constexpr unsigned value = 1; };
37
39template<class Scalar>
40struct DomainSizeX { static constexpr Scalar value = 1.0; };
41
42template<class Scalar>
43struct DomainSizeY { static constexpr Scalar value = 1.0; };
44
45template<class Scalar>
46struct DomainSizeZ { static constexpr Scalar value = 1.0; };
47
49template<class Scalar>
50struct EndTime { static constexpr Scalar value = -1e35; };
51
53struct GridFile { static constexpr auto value = ""; };
54
57struct GridGlobalRefinements { static constexpr unsigned value = 0; };
58
60template<class Scalar>
61struct InitialTimeStepSize { static constexpr Scalar value = -1e35; };
62
64struct ParameterFile { static constexpr auto value = ""; };
65
67struct PredeterminedTimeStepsFile { static constexpr auto value = ""; };
68
75struct PrintParameters { static constexpr int value = 2; };
76
78template<class Scalar>
79struct RestartTime { static constexpr Scalar value = -1e35; };
80
81} // namespace Opm:Parameters
82
83#endif
Definition: blackoilnewtonmethodparameters.hh:31
grid resolution
Definition: basicparameters.hh:34
static constexpr unsigned value
Definition: basicparameters.hh:34
Definition: basicparameters.hh:35
static constexpr unsigned value
Definition: basicparameters.hh:35
Definition: basicparameters.hh:36
static constexpr unsigned value
Definition: basicparameters.hh:36
domain size
Definition: basicparameters.hh:40
static constexpr Scalar value
Definition: basicparameters.hh:40
Definition: basicparameters.hh:43
static constexpr Scalar value
Definition: basicparameters.hh:43
Definition: basicparameters.hh:46
static constexpr Scalar value
Definition: basicparameters.hh:46
The default value for the simulation's end time.
Definition: basicparameters.hh:50
static constexpr Scalar value
Definition: basicparameters.hh:50
Name of the grid file.
Definition: basicparameters.hh:53
static constexpr auto value
Definition: basicparameters.hh:53
Definition: basicparameters.hh:57
static constexpr unsigned value
Definition: basicparameters.hh:57
The default value for the simulation's initial time step size.
Definition: basicparameters.hh:61
static constexpr Scalar value
Definition: basicparameters.hh:61
Set a value for the ParameterFile property.
Definition: basicparameters.hh:64
static constexpr auto value
Definition: basicparameters.hh:64
By default, do not force any time steps.
Definition: basicparameters.hh:67
static constexpr auto value
Definition: basicparameters.hh:67
Print all parameters on startup?
Definition: basicparameters.hh:75
static constexpr int value
Definition: basicparameters.hh:75
The default value for the simulation's restart time.
Definition: basicparameters.hh:79
static constexpr Scalar value
Definition: basicparameters.hh:79