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

Reconstruction bug fixes #361

Merged
merged 6 commits into from
Jan 18, 2024
Merged

Conversation

bcaddy
Copy link
Collaborator

@bcaddy bcaddy commented Jan 9, 2024

PLMC

The monotonization after the calculation of the interfaces was missing so I added it.

Utility Function

A couple of utility functions had * when they should be + in the calculation of vector magnitude squared. Added a function for computing that so the mistake won't happen again. This should fix some of the other weird issues that we've been running into.

@bcaddy bcaddy marked this pull request as ready for review January 9, 2024 16:58
@evaneschneider
Copy link
Collaborator

This looks good to me.

Two of the terms were multiplied instead of added. Added a new function
for computing the square of the magnitude
@bcaddy bcaddy changed the title Add Missing Limiting in PLMC Reconstruction bug fixes Jan 15, 2024
@evaneschneider evaneschneider merged commit 2bd8222 into cholla-hydro:dev Jan 18, 2024
10 checks passed
@bcaddy bcaddy deleted the dev-plmcFix branch January 22, 2024 18:31
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