-
Notifications
You must be signed in to change notification settings - Fork 5
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
High order artificial dissipation ported from InductionEq #39
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late reply, I haven't been online in github for a while. Can you request a review (button on the right hand side), @simonius, or do you not have appropriate authorisation?
kernel/artificial_dissipation.cl
Outdated
|
||
for (i = -STENCIL_WIDTH_HOD + 1; i < 1; i++) { | ||
diff_HOD_x(ix, iy, iz, bound_x, i, u, HOD_X); | ||
diff_HOD_y(ix, iy, iz, bound_x, i, u, HOD_Y); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be bound_y
(and bound_z
below)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this was my fault. Thanks.
Your opinion, @Kostaszki ? |
I ported parts of the dissipation code from InductionEq to this repository. I also added the possibility to set different dissipation strengths for different conserved variables, which can be useful for Ideal MHD.