The star setup involves operations that easily lose precision, which can lead to different numerical values on different machines. These small differences can grow into larger errors, which we found to be the case for the polytrope case.
Simply changing the order of operations in the star setup routine reduces the loss of precision significantly.
The star setup involves operations that easily lose precision, which can lead to different numerical values on different machines. These small differences can grow into larger errors, which we found to be the case for the polytrope case.
Simply changing the order of operations in the star setup routine reduces the loss of precision significantly.
Other changes:
-g
to debug flags in Makefile