From 8d0996103e5b8e1bb7ac32c8b386fc7f3f88f7d4 Mon Sep 17 00:00:00 2001 From: Katharina Heck <katharina.heck@iws.uni-stuttgart.de> Date: Thu, 10 Oct 2019 13:33:10 +0200 Subject: [PATCH] [cleanup][examples] replace enablefvgridgeometrycache with enablegridgeometrycache --- examples/1ptracer/README.md | 4 ++-- examples/1ptracer/problem_1p.hh | 2 +- examples/1ptracer/problem_tracer.hh | 2 +- examples/2pinfiltration/README.md | 2 +- examples/2pinfiltration/problem.hh | 2 +- examples/shallowwaterfriction/README.md | 2 +- examples/shallowwaterfriction/problem.hh | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/1ptracer/README.md b/examples/1ptracer/README.md index c343398dd0..fd44e2706b 100644 --- a/examples/1ptracer/README.md +++ b/examples/1ptracer/README.md @@ -284,7 +284,7 @@ struct EnableGridFluxVariablesCache<TypeTag, TTag::IncompressibleTest> { static We enable caching for the FV grid geometry ```cpp template<class TypeTag> -struct EnableFVGridGeometryCache<TypeTag, TTag::IncompressibleTest> { static constexpr bool value = true; }; +struct EnableGridGeometryCache<TypeTag, TTag::IncompressibleTest> { static constexpr bool value = true; }; ``` The cache stores values that were already calculated for later usage. This makes the simulation faster. We leave the namespace Properties. @@ -544,7 +544,7 @@ struct EnableGridVolumeVariablesCache<TypeTag, TTag::TracerTest> { static conste template<class TypeTag> struct EnableGridFluxVariablesCache<TypeTag, TTag::TracerTest> { static constexpr bool value = true; }; template<class TypeTag> -struct EnableFVGridGeometryCache<TypeTag, TTag::TracerTest> { static constexpr bool value = true; }; +struct EnableGridGeometryCache<TypeTag, TTag::TracerTest> { static constexpr bool value = true; }; ``` We use the same grid as in the stationary one-phase model, a structured 2D grid: ```cpp diff --git a/examples/1ptracer/problem_1p.hh b/examples/1ptracer/problem_1p.hh index cd8caedb33..b3c8d67478 100644 --- a/examples/1ptracer/problem_1p.hh +++ b/examples/1ptracer/problem_1p.hh @@ -101,7 +101,7 @@ template<class TypeTag> struct EnableGridFluxVariablesCache<TypeTag, TTag::IncompressibleTest> { static constexpr bool value = true; }; // We enable caching for the FV grid geometry template<class TypeTag> -struct EnableFVGridGeometryCache<TypeTag, TTag::IncompressibleTest> { static constexpr bool value = true; }; +struct EnableGridGeometryCache<TypeTag, TTag::IncompressibleTest> { static constexpr bool value = true; }; //The cache stores values that were already calculated for later usage. This makes the simulation faster. // We leave the namespace Properties. } diff --git a/examples/1ptracer/problem_tracer.hh b/examples/1ptracer/problem_tracer.hh index 07f00277c6..afb3cccafb 100644 --- a/examples/1ptracer/problem_tracer.hh +++ b/examples/1ptracer/problem_tracer.hh @@ -59,7 +59,7 @@ struct EnableGridVolumeVariablesCache<TypeTag, TTag::TracerTest> { static conste template<class TypeTag> struct EnableGridFluxVariablesCache<TypeTag, TTag::TracerTest> { static constexpr bool value = true; }; template<class TypeTag> -struct EnableFVGridGeometryCache<TypeTag, TTag::TracerTest> { static constexpr bool value = true; }; +struct EnableGridGeometryCache<TypeTag, TTag::TracerTest> { static constexpr bool value = true; }; // We use the same grid as in the stationary one-phase model, a structured 2D grid: template<class TypeTag> diff --git a/examples/2pinfiltration/README.md b/examples/2pinfiltration/README.md index a852ae6311..6627cf4d6b 100644 --- a/examples/2pinfiltration/README.md +++ b/examples/2pinfiltration/README.md @@ -321,7 +321,7 @@ stores values that were already calculated for later usage. This makes the simul template<class TypeTag> struct EnableGridFluxVariablesCache<TypeTag, TTag::PointSourceExample> { static constexpr bool value = false; }; template<class TypeTag> - struct EnableFVGridGeometryCache<TypeTag, TTag::PointSourceExample> { static constexpr bool value = false; }; + struct EnableGridGeometryCache<TypeTag, TTag::PointSourceExample> { static constexpr bool value = false; }; ``` We leave the namespace Properties. ```cpp diff --git a/examples/2pinfiltration/problem.hh b/examples/2pinfiltration/problem.hh index f7ddfceef0..0c6344275b 100644 --- a/examples/2pinfiltration/problem.hh +++ b/examples/2pinfiltration/problem.hh @@ -120,7 +120,7 @@ namespace Dumux { template<class TypeTag> struct EnableGridFluxVariablesCache<TypeTag, TTag::PointSourceExample> { static constexpr bool value = false; }; template<class TypeTag> - struct EnableFVGridGeometryCache<TypeTag, TTag::PointSourceExample> { static constexpr bool value = false; }; + struct EnableGridGeometryCache<TypeTag, TTag::PointSourceExample> { static constexpr bool value = false; }; //We leave the namespace Properties. } diff --git a/examples/shallowwaterfriction/README.md b/examples/shallowwaterfriction/README.md index 7a4994cc8a..1209c19400 100644 --- a/examples/shallowwaterfriction/README.md +++ b/examples/shallowwaterfriction/README.md @@ -269,7 +269,7 @@ We enable caching for the FV grid geometry and the grid volume variables. The ca stores values that were already calculated for later usage. This makes the simulation faster. ```cpp template<class TypeTag> -struct EnableFVGridGeometryCache<TypeTag, TTag::RoughChannel> +struct EnableGridGeometryCache<TypeTag, TTag::RoughChannel> { static constexpr bool value = true; }; template<class TypeTag> diff --git a/examples/shallowwaterfriction/problem.hh b/examples/shallowwaterfriction/problem.hh index 8d7c55f968..eb9523df9c 100644 --- a/examples/shallowwaterfriction/problem.hh +++ b/examples/shallowwaterfriction/problem.hh @@ -81,7 +81,7 @@ public: // We enable caching for the FV grid geometry and the grid volume variables. The cache // stores values that were already calculated for later usage. This makes the simulation faster. template<class TypeTag> -struct EnableFVGridGeometryCache<TypeTag, TTag::RoughChannel> +struct EnableGridGeometryCache<TypeTag, TTag::RoughChannel> { static constexpr bool value = true; }; template<class TypeTag> -- GitLab