3D FluidCS11 Example - Optimized Spatial Grid

Hello everyone,

I was wondering if anyone knows of variations of the NVIDIA example FluidCS11, specifically it´s Optimized Spatial Grid version , supporting three-dimensional grids and variable number of elements.

The reason I ask is because, despite how excellent the example is, I dont completely understand the grid generation algorithm so I am unable to develop a version of it that is three-dimensional.

If anyone knows of an example or information that would help me a lot.

Thank you very much for your time and help