[Mesa-users] Some routines in run_star_extras not called during binary evolution

Jeremy Sakstein sakstein at hawaii.edu
Tue Jan 9 20:23:02 UTC 2024


Hi everyone,

I am trying to add some modifications to the run_star_extars in the binary
module in mesa-r12778 and it appears to me that some functions are not
being called. Specifically, it looks to me like extras_start_step and
extras_after_evolve are not being called.

To test this, I wrote write(*,*) statements into each routine but the print
statements for extras_start_step and extras_after_evolve but they did not
display on the terminal. I did the same for extras_controls and
extras_finish_step and these did write to the terminal.

To test this further I added a global integer that is set to zero in
extras_controls, set to 1 in extras_start_step, and written to the terminal
in extras_finish_step. The write statement gives zero, indicating that
extars_start_step is not being called.

I am attaching a simple run_star_extras that can be used to reproduce this.
It is a modified version of the version found in the 'evolve_both_stars'
test_suite. I checked for 'star_plus_point_mass' and it also seems to be
the case that these routines are not being called.

Am I correct that they are not being called and, if so, is there a way of
calling them?

Cheers,

Jeremy


-- 
Jeremy Sakstein (He/Him/His)
Assistant Professor of Theoretical Physics
Department of Physics & Astronomy
University of Hawaiʻi at Mānoa
Watanabe Hall
2505 Correa Road
Honolulu, HI, 96822, USA
http://www.jeremysakstein.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20240109/1b4fd2ba/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_star_extras.f
Type: application/octet-stream
Size: 5225 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20240109/1b4fd2ba/attachment.obj>


More information about the Mesa-users mailing list