[Mesa-users] Save extra controls ( x_ctrl ) in photos

Buchele, Lynn lynn.buchele at h-its.org
Wed Nov 20 13:32:59 UTC 2024


Hi Abha,

The star info structure also contains the arrays ixtra, xtra, lxtra which can be used to store integers, floats, and logicals in the photos. These don't get assigned from inlists like the x_ctrl variables, so you'll need to assign them in your run_star_extras.  The run_star_extras in the ppisn case in the test suite provides and example of how to do this and how to ensure that you assign the correct values depending on if a run is starting from the beginning or is a restart.



Best,
Lynn

________________________________
From: Mesa-users <mesa-users-bounces at lists.mesastar.org> on behalf of Abha Vishwakarma via Mesa-users <mesa-users at lists.mesastar.org>
Sent: Wednesday, November 20, 2024 1:19:27 PM
To: mesa-users at lists.mesastar.org
Subject: [Mesa-users] Save extra controls ( x_ctrl ) in photos


This email originates from an external sender. Please verify the sender's identity carefully before opening any attachments or links!


Dear MESA Users,

I am working with the run_star_extras.f90 file and I was wondering if there is any way to store the x_ctrl array information in the photos files? This would make restarts easier, so please let me know anything that could be of use.

Sincerely,
Abha Vishwakarma
M.Sc. Physics
NISER, India

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20241120/2686fa6b/attachment.htm>


More information about the Mesa-users mailing list