Loading...
Searching...
No Matches
basicparameters.hh
Go to the documentation of this file.
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
// vi: set et ts=4 sw=4 sts=4:
/*
This file is part of the Open Porous Media project (OPM).
OPM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
OPM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
Consult the COPYING file in the top-level source directory of this
module for the precise wording of the license and the list of
copyright holders.
*/
#ifndef EWOMS_BASIC_PARAMETERS_HH
#define EWOMS_BASIC_PARAMETERS_HH
namespace Opm::Parameters {
struct CellsX { static constexpr unsigned value = 1; };
struct CellsY { static constexpr unsigned value = 1; };
struct CellsZ { static constexpr unsigned value = 1; };
template<class Scalar>
struct DomainSizeX { static constexpr Scalar value = 1.0; };
template<class Scalar>
struct DomainSizeY { static constexpr Scalar value = 1.0; };
template<class Scalar>
struct DomainSizeZ { static constexpr Scalar value = 1.0; };
template<class Scalar>
struct EndTime { static constexpr Scalar value = -1e35; };
struct GridFile { static constexpr auto value = ""; };
struct GridGlobalRefinements { static constexpr unsigned value = 0; };
template<class Scalar>
struct InitialTimeStepSize { static constexpr Scalar value = -1e35; };
struct ParameterFile { static constexpr auto value = ""; };
struct PredeterminedTimeStepsFile { static constexpr auto value = ""; };
struct PrintParameters { static constexpr int value = 2; };
template<class Scalar>
struct RestartTime { static constexpr Scalar value = -1e35; };
} // namespace Opm:Parameters
#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