Pulsar formed from stellar merger product not recorded in BSE_Pulsar_Evolution #1324
Labels
bug
Something isn't working
severity_moderate
This is a moderately severe bug
urgency_moderate
This is a moderately urgent issue
Describe the bug
Pulsar formed from stellar merger product not recorded in BSE_Pulsar_Evolution
This is similar to issue #1317 I posted recently.
I think I have tracked this down and have a solution. Will post a PR shortly.
The EVOLUTION_STATUS in
BaseBinaryStar::Evolve
was recorded as MASSLESS_REMNANT due to theIsMRandRemant()
check. I have added an additional check to see if the user is evolving pulsars, and if so if the stellar remnant is a neutron star, then keep evolving.Once I had done this, I found that I got hundreds of thousands of 1 Myr time steps. I tracked this down to
MR.h
which hasCalculateTimestep
rather thanChooseTimestep
. Fixing this resolved this issue.I have also added a check to see if the binary is bound to
BaseBinaryStar::ChooseTimestep
so that the GW and tides stuff is not evaluated for merged/unbound binaries.Label the issue
Please label the 'severity' and 'urgency' of this issue. You can choose:
urgency_moderate
- This is a moderately urgent issueseverity_moderate
- This is a moderately severe bugTo Reproduce
This is the system I have been using to test this:
Expected behavior
Pulsar should be recorded in BSE_Pulsar_Evolution.
Versioning (please complete the following information):
The text was updated successfully, but these errors were encountered: