From add82fc206a50f0fea62d3d4b371fa2f0385db79 Mon Sep 17 00:00:00 2001 From: Anna Wellmann <a.wellmann@tu-bs.de> Date: Wed, 9 Mar 2022 13:20:22 +0100 Subject: [PATCH] Remove unused variables --- apps/gpu/LBM/MusselOyster/MusselOyster.cpp | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp index 1d852b6d5..f5c40013b 100644 --- a/apps/gpu/LBM/MusselOyster/MusselOyster.cpp +++ b/apps/gpu/LBM/MusselOyster/MusselOyster.cpp @@ -139,13 +139,13 @@ void multipleLevel(const std::string& configPath) real vxLB = (real)0.051; // LB units real Re = (real)300.0; - real heightBivalve; - if (bivalveType == "MUSSEL") - heightBivalve = (real)35.0; - else if (bivalveType == "OYSTER") - heightBivalve = (real)72.0; - else - std::cerr << "Error: unknown bivalveType" << std::endl; + // real heightBivalve; + // if (bivalveType == "MUSSEL") + // heightBivalve = (real)35.0; + // else if (bivalveType == "OYSTER") + // heightBivalve = (real)72.0; + // else + // std::cerr << "Error: unknown bivalveType" << std::endl; real length = 1.0 / dxGrid; // heightBivalve / dxGrid real viscosityLB = (vxLB * length) / Re; @@ -205,13 +205,13 @@ void multipleLevel(const std::string& configPath) if (useGridGenerator) { - real bbzm; - real bbzp; - if (bivalveType == "MUSSEL") - bbzp = 9.0; - if (bivalveType == "OYSTER") - bbzp = 13.0; - bbzm = -bbzp; + // real bbzm; + // real bbzp; + // if (bivalveType == "MUSSEL") + // bbzp = 9.0; + // if (bivalveType == "OYSTER") + // bbzp = 13.0; + // bbzm = -bbzp; // bounding box mussel: // const real bbxm = 0.0; // const real bbxp = 76.0; -- GitLab