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

High order artificial dissipation ported from InductionEq #39

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

simonius
Copy link
Contributor

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.

@ranocha ranocha requested review from Kostaszki and ranocha June 27, 2019 10:21
Copy link
Member

@ranocha ranocha left a 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?


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);
Copy link
Member

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)?

Copy link
Contributor Author

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.

@ranocha
Copy link
Member

ranocha commented Jul 1, 2019

Your opinion, @Kostaszki ?

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.

3 participants