git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11789 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2014-04-15 15:24:27 +00:00
parent 3e291aca3d
commit 1fac1d41fa
100 changed files with 161 additions and 583 deletions

View File

@ -283,7 +283,5 @@ double AngleQuartic::single(int type, int i1, int i2, int i3)
double dtheta2 = dtheta * dtheta;
double dtheta3 = dtheta2 * dtheta;
double dtheta4 = dtheta3 * dtheta;
double tk = 2.0 * k2[type] * dtheta + 3.0 * k3[type] * dtheta2 +
4.0 * k4[type] * dtheta3;
return k2[type] * dtheta2 + k3[type] * dtheta3 + k4[type] * dtheta4;
}