forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11618 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
5e1d34a23d
commit
bfc2b92e32
|
@ -206,10 +206,6 @@ int ComputeDihedralLocal::compute_dihedrals(int flag)
|
|||
rg = sqrt(rgsq);
|
||||
|
||||
ra2inv = rb2inv = 0.0;
|
||||
/* DEAD CODE
|
||||
rginv = 0.0;
|
||||
if (rg > 0) rginv = 1.0/rg;
|
||||
*/
|
||||
if (rasq > 0) ra2inv = 1.0/rasq;
|
||||
if (rbsq > 0) rb2inv = 1.0/rbsq;
|
||||
rabinv = sqrt(ra2inv*rb2inv);
|
||||
|
|
|
@ -692,7 +692,6 @@ void Image::draw_triangle(double *x, double *y, double *z, double *surfaceColor)
|
|||
{
|
||||
double d1[3], d1len, d2[3], d2len, normal[3], invndotd;
|
||||
double xlocal[3], ylocal[3], zlocal[3];
|
||||
//double center[3];
|
||||
double surface[3];
|
||||
double depth;
|
||||
|
||||
|
@ -722,11 +721,6 @@ void Image::draw_triangle(double *x, double *y, double *z, double *surfaceColor)
|
|||
if (invndotd == 0) return;
|
||||
|
||||
double r[3],u[3];
|
||||
/* DEAD CODE
|
||||
center[0] = (xlocal[0] + ylocal[0] + zlocal[0]) / 3;
|
||||
center[1] = (xlocal[1] + ylocal[1] + zlocal[1]) / 3;
|
||||
center[2] = (xlocal[2] + ylocal[2] + zlocal[2]) / 3;
|
||||
*/
|
||||
|
||||
r[0] = MathExtra::dot3(camRight,xlocal);
|
||||
r[1] = MathExtra::dot3(camRight,ylocal);
|
||||
|
|
|
@ -723,7 +723,6 @@ void Set::setrandom(int keyword)
|
|||
|
||||
AtomVecEllipsoid *avec_ellipsoid =
|
||||
(AtomVecEllipsoid *) atom->style_match("ellipsoid");
|
||||
atom->style_match("line"); // DEAD CODE?
|
||||
AtomVecTri *avec_tri = (AtomVecTri *) atom->style_match("tri");
|
||||
|
||||
RanPark *random = new RanPark(lmp,1);
|
||||
|
|
Loading…
Reference in New Issue