We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in buidSystem func: const size_t cIdx = acc.index(i, j, k); const size_t lIdx = acc.index(i - 1, j, k); const size_t rIdx = acc.index(i + 1, j, k); const size_t dIdx = acc.index(i, j - 1, k); const size_t uIdx = acc.index(i, j + 1, k); const size_t bIdx = acc.index(i, j, k - 1); const size_t fIdx = acc.index(i, j, k + 1) size_t is an unsigned type, 0-1 != -1 will cause the wrong results.
const size_t cIdx = acc.index(i, j, k); const size_t lIdx = acc.index(i - 1, j, k); const size_t rIdx = acc.index(i + 1, j, k); const size_t dIdx = acc.index(i, j - 1, k); const size_t uIdx = acc.index(i, j + 1, k); const size_t bIdx = acc.index(i, j, k - 1); const size_t fIdx = acc.index(i, j, k + 1)
The text was updated successfully, but these errors were encountered:
Let me double check the range. It is supposed to have a 1-width padding.
Sorry, something went wrong.
No branches or pull requests
in buidSystem func:
const size_t cIdx = acc.index(i, j, k); const size_t lIdx = acc.index(i - 1, j, k); const size_t rIdx = acc.index(i + 1, j, k); const size_t dIdx = acc.index(i, j - 1, k); const size_t uIdx = acc.index(i, j + 1, k); const size_t bIdx = acc.index(i, j, k - 1); const size_t fIdx = acc.index(i, j, k + 1)
size_t is an unsigned type, 0-1 != -1 will cause the wrong results.
The text was updated successfully, but these errors were encountered: