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

(substepping) reverse 0e0cc6d patch on the particle type sent to ptmass_accrete #589

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

Yrisch
Copy link
Contributor

@Yrisch Yrisch commented Aug 31, 2024

Type of PR:
Bug fix

Description:
As noted in #588. There was an issue on the type of particle sent to ptmass_accrete when ntypes<=1. Only particles on the same iphase value of the first particle in arrays were able to accrete. I proposed a patch 1 month ago to allow only active particles to enter in accretion loop which revealed to be a mistake. Inactive particles are meant to be awakened in the accretion loop if close enough to a sink particle. Then this feature is broken if only active particles are sent in this loop.

The solution proposed in #588 is then the right one.

Testing:
One line fix to reverse a mistake... No testing needed

Did you run the bots? no

Did you update relevant documentation in the docs directory? no

@danieljprice danieljprice merged commit 11b3a72 into danieljprice:master Sep 2, 2024
180 checks passed
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