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

patch rad_accel_ptmass to be used with FSI #539

Merged
merged 5 commits into from
May 3, 2024

Conversation

Yrisch
Copy link
Contributor

@Yrisch Yrisch commented May 2, 2024

Type of PR:
Bug fix, fixes #538

Description:
Patch the rad_accel_ptmass routine to be correctly used with the new FSI scheme.

Testing:

Did you run the bots? no

Did you update relevant documentation in the docs directory? no

@danieljprice
Copy link
Owner

danieljprice commented May 2, 2024

this fix is pretty horrible, can we understand why it doesn't work with the acceleration computed inside the get_force routine? I would strongly prefer it to stay there if possible...

@Yrisch
Copy link
Contributor Author

Yrisch commented May 3, 2024

It's already the case. I also agree that this part should stay in the get_force routine. The point was on where it was in this routine. Sorry for the misleading. I badly explained myself in #538.

@danieljprice
Copy link
Owner

sorry I think I misunderstood the change here. I added a fix to the mcfost build failure...

@danieljprice danieljprice merged commit abfa5c6 into danieljprice:master May 3, 2024
180 checks passed
@danieljprice danieljprice deleted the radiation_fix branch May 3, 2024 18:49
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.

last version of the code breaks the wind setup when isink_radiation=1
2 participants