Loading...
Searching...
No Matches
fvbaseparameters.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_FV_BASE_PARAMETERS_HH
#define EWOMS_FV_BASE_PARAMETERS_HH
#include <limits>
namespace Opm::Parameters {
struct ContinueOnConvergenceError { static constexpr bool value = false; };
struct EnableAsyncVtkOutput { static constexpr bool value = true; };
struct EnableGridAdaptation { static constexpr bool value = false; };
struct EnableIntensiveQuantityCache { static constexpr bool value = false; };
struct EnableStorageCache { static constexpr bool value = false; };
struct EnableThermodynamicHints { static constexpr bool value = false; };
struct EnableVtkOutput { static constexpr bool value = true; };
template<class Scalar>
struct MaxTimeStepSize { static constexpr Scalar value = std::numeric_limits<Scalar>::infinity(); };
struct MaxTimeStepDivisions { static constexpr unsigned value = 10; };
template<class Scalar>
struct MinTimeStepSize { static constexpr Scalar value = 0.0; };
struct OutputDir { static constexpr auto value = ""; };
struct ThreadsPerProcess { static constexpr int value = 1; };
} // namespace Opm::Parameters
#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