Commit 19da39c9 authored by Timo Koch's avatar Timo Koch
Browse files

[test] 2p2c waterair enable caching for some test speedup

parent d9552a62
......@@ -75,6 +75,14 @@ struct SpatialParams<TypeTag, TTag::WaterAir>
// Define whether mole(true) or mass (false) fractions are used
template<class TypeTag>
struct UseMoles<TypeTag, TTag::WaterAir> { static constexpr bool value = true; };
// Enable caching
template<class TypeTag>
struct EnableGridGeometryCache<TypeTag, TTag::WaterAir> { static constexpr bool value = true; };
template<class TypeTag>
struct EnableGridVolumeVariablesCache<TypeTag, TTag::WaterAir> { static constexpr bool value = true; };
template<class TypeTag>
struct EnableGridFluxVariablesCache<TypeTag, TTag::WaterAir> { static constexpr bool value = true; };
} // end namespace Dumux
/*!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment