opm-simulators
Toggle main menu visibility
Loading...
Searching...
No Matches
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
Opm::Parameters::CellsX
grid resolution
Definition
basicparameters.hh:34
Opm::Parameters::CellsY
Definition
basicparameters.hh:35
Opm::Parameters::CellsZ
Definition
basicparameters.hh:36
Opm::Parameters::DomainSizeX
domain size
Definition
basicparameters.hh:40
Opm::Parameters::DomainSizeY
Definition
basicparameters.hh:43
Opm::Parameters::DomainSizeZ
Definition
basicparameters.hh:46
Opm::Parameters::EndTime
The default value for the simulation's end time.
Definition
basicparameters.hh:50
Opm::Parameters::GridFile
Name of the grid file.
Definition
basicparameters.hh:53
Opm::Parameters::GridGlobalRefinements
Property which tells the Vanguard how often the grid should be refined after creation.
Definition
basicparameters.hh:57
Opm::Parameters::InitialTimeStepSize
The default value for the simulation's initial time step size.
Definition
basicparameters.hh:61
Opm::Parameters::ParameterFile
Set a value for the ParameterFile property.
Definition
basicparameters.hh:64
Opm::Parameters::PredeterminedTimeStepsFile
By default, do not force any time steps.
Definition
basicparameters.hh:67
Opm::Parameters::PrintParameters
Print all parameters on startup?
Definition
basicparameters.hh:75
Opm::Parameters::RestartTime
The default value for the simulation's restart time.
Definition
basicparameters.hh:79
opm
models
utils
basicparameters.hh
Generated by
1.17.0