[mesa-users] Question about saving and using png/ps plots

Josiah Schwab jwschwab at berkeley.edu
Thu Feb 26 18:23:36 EST 2015


On 26 February 2015 at 11:24 PST, Michal Simon wrote:

> BTW, as a less important thing, in the results written into
> history.data appear as double precision values to 16 decimal places.
> Obviously I do not need that precision.  I would like to write values
> to say only 6 places.  I have tried to accomplish in several places in
> the defaults directory where it seemed like the user had the freedom
> of choice of format, but none of that changed my history.data output.
> How can I accomplish writing the numerical results more compactly?

When you've already tried something, it's useful to hear what you
tried.  So I suggest explaining what you've tried in future messages.

To change the format of doubles, you'll want to set the following
variable in the controls section of your inlists.

http://mesa.sourceforge.net/controls_defaults.html#star_history_dbl_format

There are analogous controls for other variable types.

Best,
Josiah




More information about the Mesa-users mailing list