mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
EnableStorageCache moved to TypeTag-free parameter system
This commit is contained in:
parent
77f0cda5d4
commit
08b227f7e3
@ -261,6 +261,8 @@ public:
|
|||||||
// the cache for intensive quantities can be used for ECL problems and also yields a
|
// the cache for intensive quantities can be used for ECL problems and also yields a
|
||||||
// decent speedup...
|
// decent speedup...
|
||||||
Parameters::SetDefault<Parameters::EnableIntensiveQuantityCache>(true);
|
Parameters::SetDefault<Parameters::EnableIntensiveQuantityCache>(true);
|
||||||
|
// the cache for the storage term can also be used and also yields a decent speedup
|
||||||
|
Parameters::SetDefault<Parameters::EnableStorageCache>(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -388,11 +388,6 @@ template<class TypeTag>
|
|||||||
struct EnableGravity<TypeTag, Properties::TTag::FlowBaseProblem>
|
struct EnableGravity<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||||
{ static constexpr bool value = true; };
|
{ 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>
|
|
||||||
{ static constexpr bool value = true; };
|
|
||||||
|
|
||||||
// only write the solutions for the report steps to disk
|
// only write the solutions for the report steps to disk
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct EnableWriteAllSolutions<TypeTag, Properties::TTag::FlowBaseProblem>
|
struct EnableWriteAllSolutions<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||||
|
Loading…
Reference in New Issue
Block a user