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

Put all code related to RS in the same file #130

Merged
merged 5 commits into from
Jan 31, 2023
Merged

Put all code related to RS in the same file #130

merged 5 commits into from
Jan 31, 2023

Conversation

Andres-MG
Copy link
Collaborator

The code for the Riemann solvers was scattered between the PhysicsStorage, HyperbolicDiscretization and RiemannSolvers files. I have moved everything to RiemannSolvers, adding a describe function to avoid rewriting the same thing in all hyperbolic discretizations.

This PR could be a good opportunity to improve the quality of the code. If someone has suggestions, please comment them here so we can add them to the final merge.

@Andres-MG Andres-MG added enhancement New feature or request help wanted Extra attention is needed labels Jan 21, 2023
@Andres-MG Andres-MG requested a review from loganoz January 21, 2023 00:21
@Andres-MG Andres-MG self-assigned this Jan 21, 2023
@Andres-MG Andres-MG force-pushed the refactor branch 2 times, most recently from c4718ab to e76d7c5 Compare January 21, 2023 19:00
@loganoz
Copy link
Owner

loganoz commented Jan 31, 2023

If the test cases are ok, go ahead and merge with master

The code for the Riemann solvers was scattered between the PhysicsStorage,
HyperbolicDiscretization and RiemannSolvers files. I have moved everything to
RiemannSolvers, adding a describe function to avoid rewriting the same thing
in all hyperbolic discretizations.
Before this fix we were adding `#end` as one of the keywords in the global
variables dictionary. This does not affect simulations, but the implementation
was wrong.
@Andres-MG Andres-MG changed the title WIP: Put all code related to RS in the same file Put all code related to RS in the same file Jan 31, 2023
@Andres-MG Andres-MG merged commit 8fb0f49 into master Jan 31, 2023
@Andres-MG Andres-MG deleted the refactor branch January 31, 2023 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants