diff --git a/src/gpu/GridGenerator/grid/GridImp.cu b/src/gpu/GridGenerator/grid/GridImp.cu index ea74df26ba96eadf15121cc393665f24b24a6d72..84d7b94dd6f204a45790b0bf86857258ede52620 100644 --- a/src/gpu/GridGenerator/grid/GridImp.cu +++ b/src/gpu/GridGenerator/grid/GridImp.cu @@ -868,7 +868,7 @@ CUDA_HOST void GridImp::findFluidNodeIndices(bool splitDomain) if (sparseIndex == -1) continue; if (this->field.isFluid(index)) - this->fluidNodeIndices.push_back((uint)sparseIndex+1); + this->fluidNodeIndices.push_back((uint)sparseIndex+1); // + 1 for numbering shift between GridGenerator and VF_GPU } // If splitDomain: find fluidNodeIndicesBorder and remove all indices in fluidNodeIndicesBorder from fluidNodeIndices