From a88d6c9945f140d140893f89402ed54ff62f7119 Mon Sep 17 00:00:00 2001 From: melaniel <melanie.lipp@iws.uni-stuttgart.de> Date: Fri, 21 Jun 2019 08:35:11 +0200 Subject: [PATCH] [freeflow][test][sincos] Remove unused determination of cell sizes. --- test/freeflow/navierstokes/sincos/problem.hh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/freeflow/navierstokes/sincos/problem.hh b/test/freeflow/navierstokes/sincos/problem.hh index 14e6832f96..3a21c0a121 100644 --- a/test/freeflow/navierstokes/sincos/problem.hh +++ b/test/freeflow/navierstokes/sincos/problem.hh @@ -110,19 +110,6 @@ public: isStationary_ = getParam<bool>("Problem.IsStationary"); enableInertiaTerms_ = getParam<bool>("Problem.EnableInertiaTerms"); kinematicViscosity_ = getParam<Scalar>("Component.LiquidKinematicViscosity", 1.0); - - using CellArray = std::array<unsigned int, dimWorld>; - auto numCells = getParam<CellArray>("Grid.Cells"); - - const unsigned int refinement = getParam<unsigned int>("Grid.Refinement", 0); - for(unsigned int i = 0; i < refinement; i++) - { - numCells[0] *= 2; - numCells[1] *= 2; - } - - cellSizeX_ = (this->fvGridGeometry().bBoxMax()[0] - this->fvGridGeometry().bBoxMin()[0]) / numCells[0]; - cellSizeY_ = (this->fvGridGeometry().bBoxMax()[1] - this->fvGridGeometry().bBoxMin()[1]) / numCells[1]; } /*! @@ -299,9 +286,6 @@ public: private: static constexpr Scalar eps_ = 1e-6; - Scalar cellSizeX_; - Scalar cellSizeY_; - Scalar kinematicViscosity_; bool enableInertiaTerms_; Scalar time_; -- GitLab