This chapter is from the book
Summary
In this chapter, we covered the essentials of defining and launching kernels on 2D computational grids. We presented and explained sample code, the flashlight app that takes advantage of CUDA/OpenGL interop to implement real-time graphical display and interaction with the results from 2D computational grids. Finally, we showed how to use flashlight as a template and perform modifications to make it applicable to a real engineering problem, numerical exploration of dynamic stability.