Code cleanup

This commit is contained in:
Matthias Hochsteger 2024-09-27 11:43:54 +02:00
parent 5b6a659356
commit 5e3743df31

View File

@ -1399,7 +1399,6 @@ void Mesh :: ImproveMesh (const MeshingParameters & mp, OPTIMIZEGOAL goal)
multithread.task = "Optimize Volume: Smooth Mesh";
topt.Start();
int counter = 0;
for (auto icolor : Range(ncolors))
{
if (multithread.terminate)
@ -1423,8 +1422,6 @@ void Mesh :: ImproveMesh (const MeshingParameters & mp, OPTIMIZEGOAL goal)
PointIndex pi = color_table[icolor][i];
if ( (*this)[pi].Type() == INNERPOINT )
{
counter++;
double lh = pointh[pi];
pf.SetLocalH (lh);
par.typx = lh;