Skip to content
Snippets Groups Projects
Commit 6d3e83db authored by cmaffeo2's avatar cmaffeo2
Browse files

Commented unwanted conditional in ComputeKernel that made simulations using...

Commented unwanted conditional in ComputeKernel that made simulations using the softcore code include self-interactions
parent 92cfc4f2
No related branches found
No related tags found
No related merge requests found
...@@ -702,7 +702,7 @@ void computeKernel(Vector3 force[], Vector3 pos[], int type[], ...@@ -702,7 +702,7 @@ void computeKernel(Vector3 force[], Vector3 pos[], int type[],
int typej = -1; int typej = -1;
for (int n = range.first; n < range.last; ++n) { for (int n = range.first; n < range.last; ++n) {
const int j = pairs[n].particle; const int j = pairs[n].particle;
if (j < 0) // if (j < 0)
// printf("%d -> pairs[%d].particle %d\n", i, n, j); // printf("%d -> pairs[%d].particle %d\n", i, n, j);
if (j == i) continue; if (j == i) continue;
const int newj = type[j]; const int newj = type[j];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment