mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: EndTime parameter moved to Opm::Parameters namespace
This commit is contained in:
parent
1e0f2b61b6
commit
1f967940f1
@ -141,7 +141,7 @@ namespace Opm {
|
||||
Parameters::hideParam<TypeTag, Parameters::EnableThermodynamicHints>();
|
||||
|
||||
// in flow only the deck file determines the end time of the simulation
|
||||
Parameters::hideParam<TypeTag, Properties::EndTime>();
|
||||
Parameters::hideParam<TypeTag, Parameters::EndTime>();
|
||||
|
||||
// time stepping is not done by the eWoms code in flow
|
||||
Parameters::hideParam<TypeTag, Properties::InitialTimeStepSize>();
|
||||
|
@ -268,17 +268,6 @@ struct EnableApiTracking<TypeTag, TTag::FlowBaseProblem> {
|
||||
static constexpr bool value = false;
|
||||
};
|
||||
|
||||
// The default for the end time of the simulation [s]
|
||||
//
|
||||
// By default, stop it after the universe will probably have stopped
|
||||
// to exist. (the ECL problem will finish the simulation explicitly
|
||||
// after it simulated the last episode specified in the deck.)
|
||||
template<class TypeTag>
|
||||
struct EndTime<TypeTag, TTag::FlowBaseProblem> {
|
||||
using type = GetPropType<TypeTag, Scalar>;
|
||||
static constexpr type value = 1e100;
|
||||
};
|
||||
|
||||
// The default for the initial time step size of the simulation [s].
|
||||
//
|
||||
// The chosen value means that the size of the first time step is the
|
||||
@ -493,11 +482,6 @@ struct ExplicitRockCompaction<TypeTag, TTag::FlowBaseProblem> {
|
||||
|
||||
namespace Opm::Parameters {
|
||||
|
||||
// The default location for the ECL output files
|
||||
template<class TypeTag>
|
||||
struct OutputDir<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||
{ static constexpr auto value = "."; };
|
||||
|
||||
// Disable the VTK output by default for this problem ...
|
||||
template<class TypeTag>
|
||||
struct EnableVtkOutput<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||
@ -514,6 +498,18 @@ template<class TypeTag>
|
||||
struct EnableStorageCache<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||
{ static constexpr bool value = true; };
|
||||
|
||||
// The default for the end time of the simulation [s]
|
||||
//
|
||||
// By default, stop it after the universe will probably have stopped
|
||||
// to exist. (the ECL problem will finish the simulation explicitly
|
||||
// after it simulated the last episode specified in the deck.)
|
||||
template<class TypeTag>
|
||||
struct EndTime<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||
{
|
||||
using type = GetPropType<TypeTag, Properties::Scalar>;
|
||||
static constexpr type value = 1e100;
|
||||
};
|
||||
|
||||
// the default for the allowed volumetric error for oil per second
|
||||
template<class TypeTag>
|
||||
struct NewtonTolerance<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||
@ -522,6 +518,11 @@ struct NewtonTolerance<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||
static constexpr type value = 1e-2;
|
||||
};
|
||||
|
||||
// The default location for the ECL output files
|
||||
template<class TypeTag>
|
||||
struct OutputDir<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||
{ static constexpr auto value = "."; };
|
||||
|
||||
} // namespace Opm::Parameters
|
||||
|
||||
#endif // OPM_FLOW_PROBLEM_PROPERTIES_HPP
|
||||
|
Loading…
Reference in New Issue
Block a user