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