Skip to content
Snippets Groups Projects
Commit 19da39c9 authored by Timo Koch's avatar Timo Koch
Browse files

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

parent d9552a62
No related branches found
No related tags found
1 merge request!1949Fix/improve 2p2cni waterair test
...@@ -75,6 +75,14 @@ struct SpatialParams<TypeTag, TTag::WaterAir> ...@@ -75,6 +75,14 @@ struct SpatialParams<TypeTag, TTag::WaterAir>
// Define whether mole(true) or mass (false) fractions are used // Define whether mole(true) or mass (false) fractions are used
template<class TypeTag> template<class TypeTag>
struct UseMoles<TypeTag, TTag::WaterAir> { static constexpr bool value = true; }; 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 } // end namespace Dumux
/*! /*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment