The original pyro code was written in 2003-4 to help understand this methods for myself. It was originally written using the Numeric array package and handwritten C extensions for the compute-intensive kernels. It was ported to numarray when that replaced Numeric, and continued to use C extensions. This version “pyro2” was resurrected beginning in 2012 and rewritten for numpy using f2py, and brought up to date.

You are free to use this code and notes in your classes. Please credit Michael Zingale (SBU). Please send me a note describing how you use it, so I can keep track of it (and help justify the development effort).

If you use pyro in a publication, please cite it using this bibtex citation:

   author = {{Zingale}, M.},
    title = "{pyro: A teaching code for computational astrophysical hydrodynamics}",
  journal = {Astronomy and Computing},
archivePrefix = "arXiv",
   eprint = {1306.6883},
 primaryClass = "astro-ph.IM",
 keywords = {Hydrodynamics, Methods: numerical},
     year = 2014,
    month = oct,
   volume = 6,
    pages = {52--62},
      doi = {10.1016/j.ascom.2014.07.003},
   adsurl = {},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}

pyro benefited from numerous useful discussions with Ann Almgren, John Bell, and Andy Nonaka.