# Summary For Projectlet 2 * Fixed memory leaks * Optimized portions of the solver * Output to pbrt * Prepared for our upcoming fluid lecture ### Fixed memory leaks We fixed a number of memory leaks, both in our code and Yu-Chi's original fluid simulator, in order to make our solver practical for longs. Previously, a large amount of leaking memory had prohibited lengthy simulations, but our fixes have made very long simulations possible. ### Optimized portions of the solver We optimized the solver to remove a few bottlenecks that had been seriously impeding our performance, mostly involving copying large amounts of data rather than using simple operations on pointers. ### Output to pbrt In order to make a realistic-looking water simulation, we output to a modified version of the pbrt raytracer. Using our output implicit surface along with a configuration file generated by our program, we used pbrt to raytrace our simulated frames. ### Prepared for fluid lecture We prepared an outline for our fluid-simulation lecture and further reviewed the basic fluid simulation papers to improve our understanding of the basic fluid solution algorithms used by the graphics community.