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

Update formula of 1D Stencil for tutorial #1359

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from

Conversation

Anjiang-Wei
Copy link
Contributor

Based on my understanding, the formula in the comment corresponds to the following code (in the same file)
https://github.com/StanfordLegion/legion/blob/stable/tutorial/08_multiple_partitions/multiple_partitions.cc#L256

double result = (-l2 + 8.0*l1 - 8.0*r1 + r2) / 12.0;

This PR aims to make the formula look exactly to be what the code looks, but I am unsure whether this PR makes sense or not.

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.

1 participant