diff --git a/apps/gpu/LBM/SphereScaling/SphereScaling.cpp b/apps/gpu/LBM/SphereScaling/SphereScaling.cpp index 6cd7217db49925ffa2a02991e635412b3b021fb6..33fbfbf17024d1d83c08ce14dff5880f5c7d97e5 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);