Code from the paper L. White and F. Sammarruca, Phys. Rev. C 88, 054619 (2013).