Modifying Simulation Space?

Hi Everyone,

New to OpenGL and I’m trying to make some modifications to the CUDA SDK examples with no luck. I’m specifically working with the particles example in the simulations section. It provides a simulation of particles being hit by an object. The area is bounded by a glutWireCube which can be modified in size. When I change that size however the invisible walls which stop the particles from continuing into 3D space don’t move. I’m guessing the visual barrier of the wire frame and the actual simulation world edge are defined differently but I can’t seem to find the later. From the documentation I’ve read these simulations are in a grid defined by a cells however modifying either doesn’t seem to get me anywhere. Is there a common way these simulation spaces are defined?

Thanks!