From 08b227f7e3175fd1956f92714254b28aa01aa983 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Sat, 6 Jul 2024 10:22:47 +0200 Subject: [PATCH] EnableStorageCache moved to TypeTag-free parameter system --- opm/simulators/flow/FlowProblem.hpp | 2 ++ opm/simulators/flow/FlowProblemProperties.hpp | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/opm/simulators/flow/FlowProblem.hpp b/opm/simulators/flow/FlowProblem.hpp index 740c496fd..44ae9c3ce 100644 --- a/opm/simulators/flow/FlowProblem.hpp +++ b/opm/simulators/flow/FlowProblem.hpp @@ -261,6 +261,8 @@ public: // the cache for intensive quantities can be used for ECL problems and also yields a // decent speedup... Parameters::SetDefault(true); + // the cache for the storage term can also be used and also yields a decent speedup + Parameters::SetDefault(true); } diff --git a/opm/simulators/flow/FlowProblemProperties.hpp b/opm/simulators/flow/FlowProblemProperties.hpp index 6cfe382c1..b8c83795e 100644 --- a/opm/simulators/flow/FlowProblemProperties.hpp +++ b/opm/simulators/flow/FlowProblemProperties.hpp @@ -388,11 +388,6 @@ template struct EnableGravity { static constexpr bool value = true; }; -// the cache for the storage term can also be used and also yields a decent speedup -template -struct EnableStorageCache -{ static constexpr bool value = true; }; - // only write the solutions for the report steps to disk template struct EnableWriteAllSolutions