Remove two unused variables

This commit is contained in:
Stefan Brüns 2021-03-10 01:06:11 +01:00
parent 2767672286
commit 8abd52a47b

View File

@ -244,9 +244,6 @@ namespace netgen
hvalue[0] = 0; hvalue[0] = 0;
pnt = c->Value(s0); pnt = c->Value(s0);
double olddist = 0;
double dist = 0;
int tmpVal = (int)(DIVIDEEDGESECTIONS); int tmpVal = (int)(DIVIDEEDGESECTIONS);
for (int i = 1; i <= tmpVal; i++) for (int i = 1; i <= tmpVal; i++)
@ -259,9 +256,6 @@ namespace netgen
//(*testout) << "mesh.GetH(Point3d(pnt.X(), pnt.Y(), pnt.Z())) " << mesh.GetH(Point3d(pnt.X(), pnt.Y(), pnt.Z())) //(*testout) << "mesh.GetH(Point3d(pnt.X(), pnt.Y(), pnt.Z())) " << mesh.GetH(Point3d(pnt.X(), pnt.Y(), pnt.Z()))
// << " pnt.Distance(oldpnt) " << pnt.Distance(oldpnt) << endl; // << " pnt.Distance(oldpnt) " << pnt.Distance(oldpnt) << endl;
olddist = dist;
dist = pnt.Distance(oldpnt);
} }
// nsubedges = int(ceil(hvalue[DIVIDEEDGESECTIONS])); // nsubedges = int(ceil(hvalue[DIVIDEEDGESECTIONS]));