Extensions of Sandia labs' SPPARKS code.