mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-11 04:55:33 -06:00
EnableIntensiveQuantityCache moved to TypeTag-free parameter system
This commit is contained in:
parent
43f9a46b51
commit
77f0cda5d4
@ -120,7 +120,7 @@ namespace Opm {
|
||||
// this parameter is actually used in eWoms, but the flow well model
|
||||
// hard-codes the assumption that the intensive quantities cache is enabled,
|
||||
// so flow crashes. Let's hide the parameter for that reason.
|
||||
Parameters::hideParam<TypeTag, Parameters::EnableIntensiveQuantityCache>();
|
||||
Parameters::Hide<Parameters::EnableIntensiveQuantityCache>();
|
||||
|
||||
// thermodynamic hints are not implemented/required by the eWoms blackoil
|
||||
// model
|
||||
|
@ -258,6 +258,9 @@ public:
|
||||
Parameters::SetDefault<Parameters::InitialTimeStepSize<Scalar>>(3600*24);
|
||||
// Disable the VTK output by default for this problem ...
|
||||
Parameters::SetDefault<Parameters::EnableVtkOutput>(false);
|
||||
// the cache for intensive quantities can be used for ECL problems and also yields a
|
||||
// decent speedup...
|
||||
Parameters::SetDefault<Parameters::EnableIntensiveQuantityCache>(true);
|
||||
}
|
||||
|
||||
|
||||
|
@ -388,12 +388,6 @@ template<class TypeTag>
|
||||
struct EnableGravity<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||
{ static constexpr bool value = true; };
|
||||
|
||||
// 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; };
|
||||
|
||||
// the cache for the storage term can also be used and also yields a decent speedup
|
||||
template<class TypeTag>
|
||||
struct EnableStorageCache<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||
|
Loading…
Reference in New Issue
Block a user