[Mesa-users] PPISN with hydrogen envelope
Mairead Heiger
mairead.heiger at mail.utoronto.ca
Fri Nov 26 00:23:57 UTC 2021
Hello!
I'm a grad student at the University of Toronto working with Chris Matzner on pair instability pulsations in stars with envelopes. I'm trying to evolve a PPISN with a hydrogen envelope in r15140 using the 2018 instrument paper inlists (r10108). I've also been looking at the test suite as a reference. I've updated the inlists and run_star_extras file to be compatible with r15140, as far as I can tell. However, it fails to compile with the error "___ at (1) is not a member of the 'star_info' structure; did you mean '____'?" due to two eps_grav related variables (eps_grav_dt_term_const_q and eps_grav_dm_term_const_q) and lxtra, xtra, and ixtra variables. Were these changed between r10108 and r15140, and if so, how? Or is there something else I might be missing? I know there were changes to eps_grav, but I'm not sure what is necessary to apply here.
Also, the test suite defines the indices of the lxtra variables (ex. lxtra(lx_hydro_on) ) at the beginning of run_star_extras; the instrument paper inlist doesn't and just uses them as lxtra1, lxtra2, etc. I didn't find other examples of lxtra/xtra/ixtra variables in use outside of the PPISN test suite, so I'm not sure if the difference is due to a change in MESA or if it's a regular difference in how they're written.
The inlists and run_star_extras file that I'm using are attached, and a printout of the error is below.
Thank you very much in advance for your help!
Best,
Mairead Heiger
PhD Student, Astronomy and Astrophysics
University of Toronto
../src/run_star_extras.f90:95:37:
95 | s% eps_grav_dm_term_const_q(k) = 0d0
| 1
Error: 'eps_grav_dm_term_const_q' at (1) is not a member of the 'star_info' structure; did you mean 'd_eps_grav_dlnpgasm1_const_t'?
../src/run_star_extras.f90:96:37:
96 | s% eps_grav_dt_term_const_q(k) = 0d0
| 1
Error: 'eps_grav_dt_term_const_q' at (1) is not a member of the 'star_info' structure; did you mean 'd_eps_grav_dlnpgasm1_const_t'?
../src/run_star_extras.f90:261:24:
261 | extras_startup = 0
| 1
Error: Symbol 'extras_startup' at (1) has already been host associated
../src/run_star_extras.f90:266:22:
266 | s% lxtra1 = .false.
| 1
Error: 'lxtra1' at (1) is not a member of the 'star_info' structure; did you mean 'lxtra'?
../src/run_star_extras.f90:268:22:
268 | s% lxtra2 = .false.
| 1
Error: 'lxtra2' at (1) is not a member of the 'star_info' structure; did you mean 'lxtra'?
../src/run_star_extras.f90:270:22:
270 | s% lxtra3 = .false.
| 1
Error: 'lxtra3' at (1) is not a member of the 'star_info' structure; did you mean 'lxtra'?
../src/run_star_extras.f90:272:21:
272 | s% xtra1 = -1d0
| 1
Error: 'xtra1' at (1) is not a member of the 'star_info' structure; did you mean 'xtra'?
compilation terminated due to -fmax-errors=7.
make: *** [run_star_extras.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20211126/c0789a48/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist
Type: application/octet-stream
Size: 642 bytes
Desc: inlist
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20211126/c0789a48/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_extra
Type: application/octet-stream
Size: 109 bytes
Desc: inlist_extra
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20211126/c0789a48/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_hydro_off
Type: application/octet-stream
Size: 691 bytes
Desc: inlist_hydro_off
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20211126/c0789a48/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_hydro_on
Type: application/octet-stream
Size: 788 bytes
Desc: inlist_hydro_on
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20211126/c0789a48/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_pgstar
Type: application/octet-stream
Size: 939 bytes
Desc: inlist_pgstar
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20211126/c0789a48/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_project
Type: application/octet-stream
Size: 19286 bytes
Desc: inlist_project
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20211126/c0789a48/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inlist_pulses
Type: application/octet-stream
Size: 873 bytes
Desc: inlist_pulses
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20211126/c0789a48/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_star_extras.f90
Type: application/octet-stream
Size: 32402 bytes
Desc: run_star_extras.f90
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20211126/c0789a48/attachment-0007.obj>
More information about the Mesa-users
mailing list