Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce mass ratio #759

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Introduce mass ratio #759

wants to merge 4 commits into from

Conversation

matthiasfabry
Copy link
Contributor

Small QOL improvement for binary runs.

In binary simulations, the mass ratio is important enough to have a history column available out of the box in mesa (and it required for plotting with pgbinary).
I understand the definition of q is not universal, some fields use m1/m2, others m2/m1 (I chose the latter, typically the initially less massive over the initially more mass star). Hence I also implemented min(m2/m1, m1/m2) as an "observational" mass ratio.

@matthiasfabry matthiasfabry requested a review from orlox as a code owner December 12, 2024 21:44
@matthiasfabry
Copy link
Contributor Author

Working on this reminded me to at a certain time strip the copying of binary_history into (star_)history and its infrastructure, since that is not required for pgstar plotting anymore.

Copy link
Contributor

@orlox orlox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aok

@Debraheem Debraheem added the binary Binary module label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binary Binary module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants