Fluid Simulation in Kernel Space