8000 fixed error in call to comenv due to secondary by poojanagrawal · Pull Request #589 · COSMIC-PopSynth/COSMIC · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fixed error in call to comenv due to secondary #589

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

Merged

Conversation

poojanagrawal
Copy link
Contributor

Common envelope calculations when initiated by the secondary were buggy; j1 and j2 were used incorrectly at two places.
To fix this, I have swapped j1 and j2, formation (j1) and formation(j2) in call to the comenv in evolv2.f when common envelope is initiated by the secondary in a contact system.
Similarly, id for first star in CE (star responsible for CE) was always assumed to be 1 when calling hrdiag through comenv.f. This is again incorrect in the above case.
I have modified the call the hrdiag to use star1 and star 2 instead.

@codecov
Copy link
codecov bot commented Jun 5, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (6367187) 86.91% compared to head (06cbaca) 86.91%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #589   +/-   ##
========================================
  Coverage    86.91%   86.91%           
========================================
  Files           40       40           
  Lines        25440    25440           
========================================
  Hits         22111    22111           
  Misses        3329     3329           
Impacted Files Coverage Δ
cosmic/src/evolv2.f 56.75% <ø> (ø)
< 814D a href="https://app.codecov.io/gh/COSMIC-PopSynth/COSMIC/pull/589?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=COSMIC-PopSynth#diff-Y29zbWljL3NyYy9jb21lbnYuZg==" rel="nofollow">cosmic/src/comenv.f 34.02% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@katiebreivik katiebreivik merged commit c4649ba into COSMIC-PopSynth:develop Jun 23, 2023
@poojanagrawal poojanagrawal deleted the comenv_and_remnant_stuff branch May 23, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0