Robust Computational Physics and Automated Sanity Checks
ORAL
Abstract
A good computational physics course teaches students to say ``well that's completely wrong'' anytime the computer gives them a result. Once cast in doubt, it is the scientist's responsibility to convince themselves that the result is in fact correct. As programs become more complicated, it usually becomes more difficult to guarantee that the final output is right. I will present a new framework that automates the production of robust, high quality Fortran code. The talk will include a brief overview of good coding principles and a demonstration of the most useful features of the framework that help automate implementation of these principles. By providing an XML-based documentation standard and automated unit testing, fortpy$^a$ helps researchers ensure that their code produces accurate physics and is easier to use by others. \vskip 1em \noindent \mbox{[a]} Conrad W. Rosenbrock \textit{Fortpy Auto-completion and Automated Unit Testing for Fortran: https://github.com/rosenbrockc/fortpy}
–
Authors
-
Conrad W. Rosenbrock
Brigham Young Univ - Provo, Department of Physics and Astronomy Brigham Young University, Department of Physics and Astronomy, Brigham Young University Provo, Brigham Young University
-
Gus L.W. Hart
Brigham Young Univ - Provo, Department of Physics and Astronomy Brigham Young University, Brigham Young University, Provo UT, Department of Physics and Astronomy, Brigham Young University Provo, Department of Physics and Astronomy, Brigham Young University, Provo, UT 84602, Brigham Young University