From 7a1d3b5f53667057f20a0bcf215bd4858e474d7b Mon Sep 17 00:00:00 2001 From: HenrikAsmuth <henrik.asmuth@geo.uu.se> Date: Mon, 6 Feb 2023 09:29:55 +0100 Subject: [PATCH] Merge fix --- .../VirtualFluids_GPU/GPU/GridScaling/scaleFC_compressible.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/VirtualFluids_GPU/GPU/GridScaling/scaleFC_compressible.cu b/src/gpu/VirtualFluids_GPU/GPU/GridScaling/scaleFC_compressible.cu index 2fa7c592c..c89a524c1 100644 --- a/src/gpu/VirtualFluids_GPU/GPU/GridScaling/scaleFC_compressible.cu +++ b/src/gpu/VirtualFluids_GPU/GPU/GridScaling/scaleFC_compressible.cu @@ -559,7 +559,7 @@ template<bool hasTurbulentViscosity> __global__ void scaleFC_compressible( // z = 0.; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // index of the destination node and its neighbors - k_000 = indicesCoarse000[k_thread]; + k_000 = indicesCoarse000[nodeIndex]; k_M00 = neighborXcoarse [k_000]; k_0M0 = neighborYcoarse [k_000]; k_00M = neighborZcoarse [k_000]; -- GitLab