Please keep the list in the loop.
Those lines print the header sections of the
file. You need to look for a fprint() that
uses %g, which is a floating point value.
Read a C manual on how to change %g to
something that has higher precision. Or
look in thermo.cpp to see how it is done.
Steve