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

Fix timestep columns #371

Merged
merged 4 commits into from
Aug 11, 2021
Merged

Fix timestep columns #371

merged 4 commits into from
Aug 11, 2021

Conversation

G-071
Copy link
Member

@G-071 G-071 commented Aug 9, 2021

The legacy flux kernel swaps UL and UR when storing the respective values for the time step:


The newer hydro flux kernels (all of them, VC, CUDA, Kokkos) were not doing this, causing swapped ur/ul and vr/vl columns in the time step output on the console!

@dmarce1 @shibersag I assume the UL/UR swap in the legacy mentioned above is intentional? In case it is: This PR adds the swap when storing UL and UR in the time step variable for all kernels.

G-071 added 4 commits August 9, 2021 14:58
This adapts the timestep output of the new flux kernels to the one of
the LEGACY flux kernel as (for some reason) the ul and ur values get
swapped in the very last step.
@G-071 G-071 requested a review from dmarce1 August 9, 2021 15:54
@dmarce1 dmarce1 merged commit 4601c00 into master Aug 11, 2021
@dmarce1 dmarce1 deleted the fix_timestep_columns branch August 11, 2021 14:05
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