changed: move the EnableIntensiveQuantitiesCache parameter to Opm::Parameters

This commit is contained in:
Arne Morten Kvarving committed 2024-07-01 09:46:45 +02:00
1 parent f77c12bce9
commit e3222a6dd6
7 files changed
+57 -36

No files matched your search

+7 -2
View File
@@ -229,11 +229,16 @@ struct VtkWriteIntrinsicPermeabilities<TypeTag, TTag::LensBaseProblem> { static
template<class TypeTag>
struct EnableStorageCache<TypeTag, TTag::LensBaseProblem> { static constexpr bool value = true; };
} // namespace Opm::Properties
namespace Opm::Parameters {
// enable the cache for intensive quantities by default for this problem
template<class TypeTag>
struct EnableIntensiveQuantityCache<TypeTag, TTag::LensBaseProblem> { static constexpr bool value = true; };
struct EnableIntensiveQuantityCache<TypeTag, Properties::TTag::LensBaseProblem>
{ static constexpr bool value = true; };
} // namespace Opm::Properties
} // namespace Opm::Parameters
namespace Opm {