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

Add dictionary of fwave values to static.py. #181

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Add dictionary of fwave values to static.py. #181

merged 1 commit into from
Dec 5, 2024

Conversation

ketch
Copy link
Member

@ketch ketch commented Dec 2, 2024

This will allow us to automatically set solver.fwave for most solvers.

This addresses the first part of clawpack/pyclaw#737.

This will allow us to automatically set solver.fwave for most solvers.
@mandli
Copy link
Member

mandli commented Dec 2, 2024

I wonder if there is a better way to do this from the Riemann solver (query it to see what kind of solver it is) but that's for another time and a future us problem.

@ketch
Copy link
Member Author

ketch commented Dec 2, 2024

Yes, if all of the Riemann solvers were objects with data attached then this information could belong directly to them. But f2py doesn't play so well with fortran modules so I have no inclination to try to do that. And this solution is simple and effective.

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