From 27f0a30d04483d7cf8f3da48b6445156cb90bc70 Mon Sep 17 00:00:00 2001 From: Anna Wellmann <a.wellmann@tu-bs.de> Date: Tue, 30 Nov 2021 11:50:02 +0100 Subject: [PATCH] Fix bug in sphere setup for 8 GPUs --- apps/gpu/LBM/SphereScaling/SphereScaling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gpu/LBM/SphereScaling/SphereScaling.cpp b/apps/gpu/LBM/SphereScaling/SphereScaling.cpp index 6cd7217db..33fbfbf17 100644 --- a/apps/gpu/LBM/SphereScaling/SphereScaling.cpp +++ b/apps/gpu/LBM/SphereScaling/SphereScaling.cpp @@ -470,7 +470,7 @@ void multipleLevel(const std::string& configPath) if (scalingType == "weak"){ if (useLevels) { - gridBuilder->addGeometry(new Sphere(0.0, sideLengthCube, sideLengthCube, dSphere)); + gridBuilder->addGeometry(new Sphere(sideLengthCube, sideLengthCube, sideLengthCube, dSphere)); }else{ TriangularMesh *sphereSTL = TriangularMesh::make(stlPath + "Spheres_8GPU.stl"); gridBuilder->addGeometry(sphereSTL); -- GitLab