Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@cournoyercloutierc
Copy link
Contributor

Set all arguments of addstar in new_advanced_particle -- including the relative mass, core mass, and envelope mass -- to ensure that simulations restarted with evolved stars use the correct evolved stellar masses. Prior to this change, restarting from stars with non-zero core masses resulted in the total mass being calculated from the mass plus the core mass. The relevant function (from add_star.C) is shown below:
addstar(node * b, real t_current, stellar_type type, real z,int id, bool verbose, stellar_type type2, real m_rel, real m_env, real m_core, real mco_core, real t_rel)

No other files are affected by this change.

Set all arguments of addstar in new_advanced_particle -- including the relative mass, core mass, and envelope mass -- to ensure that simulations restarted with evolved stars use the correct evolved stellar masses.
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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.