C++17 Snippets: Making code clearer with Auto Template Parameter Type Deduction

This article simply focuses on how to make code clearer when creating tuples, pairs and vectors. In c++14, if you wanted to use tuple, you could construct one with the make_tuple function. This would save you from having to explicitly declare the types as template arguments. Now in c++17 you can just pass the arguments … Read more

2D Fluid Simulation in c++

I have successfully implemented a 2D Fluid simulator using information from Jos Stam’s stable fluids paper and Robert Bridson’s Book ‘Fluid Simulation for Computer Graphics’ (Siggraph course notes that the book is based on is here). x https://youtu.be/Lyl-IN35cvc It currently does basic boundary condition on a MAC Grid, Semi-Lagrangian Advection, MackCormack Advection, BFECC Advection with … Read more