mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: EnableIntensiveQuantitiesCache parameter moved to Opm::Parameters namespace
This commit is contained in:
parent
3e1c8baa35
commit
02f1c6c230
@ -134,7 +134,7 @@ namespace Opm {
|
|||||||
// this parameter is actually used in eWoms, but the flow well model
|
// this parameter is actually used in eWoms, but the flow well model
|
||||||
// hard-codes the assumption that the intensive quantities cache is enabled,
|
// hard-codes the assumption that the intensive quantities cache is enabled,
|
||||||
// so flow crashes. Let's hide the parameter for that reason.
|
// so flow crashes. Let's hide the parameter for that reason.
|
||||||
Parameters::hideParam<TypeTag, Properties::EnableIntensiveQuantityCache>();
|
Parameters::hideParam<TypeTag, Parameters::EnableIntensiveQuantityCache>();
|
||||||
|
|
||||||
// thermodynamic hints are not implemented/required by the eWoms blackoil
|
// thermodynamic hints are not implemented/required by the eWoms blackoil
|
||||||
// model
|
// model
|
||||||
|
@ -398,13 +398,6 @@ struct EclOutputDoublePrecision<TypeTag, TTag::FlowBaseProblem> {
|
|||||||
static constexpr bool value = false;
|
static constexpr bool value = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
// the cache for intensive quantities can be used for ECL problems and also yields a
|
|
||||||
// decent speedup...
|
|
||||||
template<class TypeTag>
|
|
||||||
struct EnableIntensiveQuantityCache<TypeTag, TTag::FlowBaseProblem> {
|
|
||||||
static constexpr bool value = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
// the cache for the storage term can also be used and also yields a decent speedup
|
// the cache for the storage term can also be used and also yields a decent speedup
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct EnableStorageCache<TypeTag, TTag::FlowBaseProblem> {
|
struct EnableStorageCache<TypeTag, TTag::FlowBaseProblem> {
|
||||||
@ -523,6 +516,12 @@ template<class TypeTag>
|
|||||||
struct EnableVtkOutput<TypeTag, Properties::TTag::FlowBaseProblem>
|
struct EnableVtkOutput<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||||
{ static constexpr bool value = false; };
|
{ static constexpr bool value = false; };
|
||||||
|
|
||||||
|
// the cache for intensive quantities can be used for ECL problems and also yields a
|
||||||
|
// decent speedup...
|
||||||
|
template<class TypeTag>
|
||||||
|
struct EnableIntensiveQuantityCache<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||||
|
{ static constexpr bool value = true; };
|
||||||
|
|
||||||
} // namespace Opm::Parameters
|
} // namespace Opm::Parameters
|
||||||
|
|
||||||
#endif // OPM_FLOW_PROBLEM_PROPERTIES_HPP
|
#endif // OPM_FLOW_PROBLEM_PROPERTIES_HPP
|
||||||
|
Loading…
Reference in New Issue
Block a user