Llewellin, E. (2010). LBflow: An extensible lattice Boltzmann framework for the simulation of geophysical flows. Part I: theory and implementation. Computers and Geosciences, 36(2), 115-122. https://doi.org/10.1016/j.cageo.2009.08.004