forked from cholla-hydro/cholla
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Dev ppmcp merge #17
Open
bcaddy
wants to merge
29
commits into
dev-plmcp-merge
Choose a base branch
from
dev-ppmcp-merge
base: dev-plmcp-merge
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Dev ppmcp merge #17
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added a version of PCM that can be called as a device function from within a Riemann solver
Refactored this function to put the limiter into its own function, rename it to better reflect what it actually does, and move the characteristic to primitive conversion outside the function
Sound speed plays a similar role to the other members of EigenVecs so including it makes sense rather than passing around extra arguments
Doxygen for PCM, HLLD, and Reconstruction functions. Make all `direction` tparams of type uint instead of a mix of int, size_t, and uint. uint was chosen since direction should never be negative and size_t is misleading in that it looks like it should be an array index.
These don't change much for most builds but they do allow higher order reconstructions to be fused later if needed
This is the first step in combining the two PLM methods into one with a switch for the limiting variables. Currently that switch exists but the kernels haven't been modified to use it yet.
- Removed the PLMP kernel since PLMC can do both now - Renamed PLMC_cuda to PLM_cuda since it can now do limiting in either set of variables - Renamed plmc files to plm - The PLM kernel has MHD support for either type of limiting
Moved the computation of the eigenvectors so it's not unnecerarily done in PLMP
Refactored this function to put the limiter into its own function, rename it to better reflect what it actually does, and move the characteristic to primitive conversion outside the function
Sound speed plays a similar role to the other members of EigenVecs so including it makes sense rather than passing around extra arguments
I removed PPMC_CTU and added a call to the characteristic tracing function to PPMC_VL and renamed it to PPMC_cuda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.