From e6e7e5fde60b5bb89bda43ebe9a38eb8d1b42e92 Mon Sep 17 00:00:00 2001 From: "Dennis.Glaeser" <dennis.glaeser@iws.uni-stuttgart.de> Date: Wed, 24 Apr 2019 13:55:08 +0200 Subject: [PATCH] [test][shallowwater] remove unused variables --- test/freeflow/shallowwater/main.cc | 1 - test/freeflow/shallowwater/problem.hh | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/test/freeflow/shallowwater/main.cc b/test/freeflow/shallowwater/main.cc index c515b22d9e..e57da5010f 100644 --- a/test/freeflow/shallowwater/main.cc +++ b/test/freeflow/shallowwater/main.cc @@ -129,7 +129,6 @@ int main(int argc, char** argv) try // get some time loop parameters using Scalar = GetPropType<TypeTag, Properties::Scalar>; const auto tEnd = getParam<Scalar>("TimeLoop.TEnd"); - const auto maxDivisions = getParam<int>("TimeLoop.MaxTimeStepDivisions"); const auto maxDt = getParam<Scalar>("TimeLoop.MaxTimeStepSize"); auto dt = getParam<Scalar>("TimeLoop.DtInitial"); diff --git a/test/freeflow/shallowwater/problem.hh b/test/freeflow/shallowwater/problem.hh index ca21a85c0e..550f1884f6 100644 --- a/test/freeflow/shallowwater/problem.hh +++ b/test/freeflow/shallowwater/problem.hh @@ -90,12 +90,11 @@ struct EnableGridFluxVariablesCache<TypeTag, TTag::ShallowWaterModel> { static c * \ingroup Shallow water equations model * \ingroup ImplicitTestProblems * - * \brief A simple dam break test (1D wet dam break). + * \brief A simple dam break test (1D wet dam break). * * The domain is 20 meters long with a gate in the middle. On the left * side the water depth is 4 meters and on the right side the depth is 1 meter. - * All boundaries are set to no-flow. - * + * All boundaries are set to no-flow. * * This problem uses the \ref ShallowWaterModel * @@ -199,8 +198,6 @@ public: const auto& insideScv = fvGeometry.scv(scvf.insideScvIdx()); const auto& insideVolVars = elemVolVars[insideScv]; const auto& nxy = scvf.unitOuterNormal(); - const auto& ip = scvf.ipGlobal(); - auto riemannFlux = ShallowWater::riemannProblem(insideVolVars.waterDepth(), insideVolVars.waterDepth(), -- GitLab