I have started learning CUDA and am trying to modify the Particles sample included in the toolkit. The way it is programmed is quite complicated to me and I am trying to simplify it.
–I have found the section where the interaction of the particles is coded using DEM method: particles_kernel_impl.cuh
It is one of the few parts I can understand what is going on. I tried to modify some lines to see the result but it seems that the program runs independently of that section as I tried the weirdest things that came to my mind to see unusual interaction between the balls. I even once deleted all lines but the code did not care!
Can anybody explain or help me with this problem?