diff --git a/apps/gpu/LBM/SphereScaling/SphereScaling.cpp b/apps/gpu/LBM/SphereScaling/SphereScaling.cpp index a7571e1a854da65d8ef9cb1adc8695a55ed6ead1..65c3f0ce28063b55ba2d2d7cc1b9dfa31543e8d8 100644 --- a/apps/gpu/LBM/SphereScaling/SphereScaling.cpp +++ b/apps/gpu/LBM/SphereScaling/SphereScaling.cpp @@ -449,11 +449,6 @@ void multipleLevel(const std::string& configPath) zGridMax, dxGrid); } - if (useLevels) { - gridBuilder->addGrid(new Sphere(0.5 * sideLengthCube, 0.5 * sideLengthCube, 0.5 * sideLengthCube, dSphereLev1), 1); - } - - if (useLevels) { if (scalingType == "strong"){ gridBuilder->addGrid(new Sphere(0.5 * sideLengthCube, 0.5 * sideLengthCube, 0.5 * sideLengthCube, dSphereLev1), 1); diff --git a/apps/gpu/LBM/SphereScaling1/SphereScaling1.cpp b/apps/gpu/LBM/SphereScaling1/SphereScaling1.cpp index 1edaceff8b53c1b85229948fa4e5aad87d585702..14d151402f93dcbda32a05f2f09b357b589332b8 100644 --- a/apps/gpu/LBM/SphereScaling1/SphereScaling1.cpp +++ b/apps/gpu/LBM/SphereScaling1/SphereScaling1.cpp @@ -120,7 +120,7 @@ void multipleLevel(const std::string& configPath) bool useGridGenerator = true; bool useLevels = true; - std::string scalingType = "strong"; // "strong" // "weak" + std::string scalingType = "weak"; // "strong" // "weak" // bool useStreams = true; // para->useReducedCommunicationAfterFtoC = true; bool useStreams = para->getUseStreams(); @@ -448,12 +448,7 @@ void multipleLevel(const std::string& configPath) gridBuilder->addCoarseGrid(xSplit - overlap, ySplit - overlap, zSplit - overlap, xGridMax, yGridMax, zGridMax, dxGrid); } - - if (useLevels) { - gridBuilder->addGrid(new Sphere(0.5 * sideLengthCube, 0.5 * sideLengthCube, 0.5 * sideLengthCube, dSphereLev1), 1); - } - - + if (useLevels) { if (scalingType == "strong"){ gridBuilder->addGrid(new Sphere(0.5 * sideLengthCube, 0.5 * sideLengthCube, 0.5 * sideLengthCube, dSphereLev1), 1);