Skip to content
Snippets Groups Projects
Commit 2f5e29a1 authored by cmaffeo2's avatar cmaffeo2
Browse files

Removed truncation of bonds

parent 9f9acb6c
No related branches found
No related tags found
No related merge requests found
...@@ -300,7 +300,6 @@ bool ComputeForce::addBondPotential(String fileName, int ind, Bond bonds[]) ...@@ -300,7 +300,6 @@ bool ComputeForce::addBondPotential(String fileName, int ind, Bond bonds[])
tableBond_addr[ind] = NULL; tableBond_addr[ind] = NULL;
} }
tableBond[ind] = new TabulatedPotential(fileName); tableBond[ind] = new TabulatedPotential(fileName);
tableBond[ind]->truncate(switchStart, sqrtf(cutoff2), 0.0f);
for (int i = 0; i < numBonds; ++i) for (int i = 0; i < numBonds; ++i)
if (bonds[i].fileName == fileName) if (bonds[i].fileName == fileName)
......
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