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

[staggered] Add cachingEnabled member to grid geometry

parent f882646b
No related branches found
No related tags found
2 merge requests!2169Feature/simplify staggered upwind fluxvars,!2134WIP Feature/timestepper test
......@@ -193,6 +193,7 @@ public:
static constexpr DiscretizationMethod discMethod = DiscretizationMethod::staggered;
static constexpr int upwindSchemeOrder = Traits::upwindSchemeOrder;
static constexpr bool useHigherOrder = upwindSchemeOrder > 1;
static constexpr bool cachingEnabled = true;
//! export the type of the fv element geometry (the local view type)
using LocalView = typename Traits::template LocalView<ThisType, true>;
......@@ -450,6 +451,7 @@ public:
static constexpr DiscretizationMethod discMethod = DiscretizationMethod::staggered;
static constexpr int upwindSchemeOrder = Traits::upwindSchemeOrder;
static constexpr bool useHigherOrder = upwindSchemeOrder > 1;
static constexpr bool cachingEnabled = false;
using GeometryHelper = typename Traits::GeometryHelper;
......
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