[mesa-users] Problems with xtra data

Pablo Marchant pamarca at gmail.com
Tue Dec 4 12:04:13 EST 2012


I've been trying to fix some issues with the binary evolution
implementation of MESA, and noticed that backups are causing strange
hiccups in some of my test runs. The issue is that the binary system
information is stored in the xtra variables of the star_info, and these are
not properly regressed after a backup, although on star_def.inc it is
commented that:

"
! more extras -- for run_star_extras applications with state.
! if your extra state info is all held in the following variables,
! restarts, retries, and backups will work without doing anything special.
"

I checked the set_current_to_old subroutine, and effectively there is no
mention to the xtra variables. Also, I guess one would require a whole host
of xtra_old and xtra_older for this to be done. Should this actually be
part of the backup process, or is there a reason why it's not done?

PD: the set_current_to_old subroutine also has a bug, the last line reads
"
s% err_ratio_avg_hydro = s% err_ratio_avg_hydro
"
which should be replaced with
"
s% err_ratio_avg_hydro = s% err_ratio_avg_hydro_old
"

Cheers!

-- 
Pablo Marchant Campos
M.Sc on Astrophysics, Universidad Católica de Chile
PhD student, Argelander-Institut für Astronomie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20121204/a661c696/attachment.html>


More information about the Mesa-users mailing list