mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 14:20:34 +05:00
Code cleanup
This commit is contained in:
parent
5b6a659356
commit
5e3743df31
@ -1399,7 +1399,6 @@ void Mesh :: ImproveMesh (const MeshingParameters & mp, OPTIMIZEGOAL goal)
|
|||||||
multithread.task = "Optimize Volume: Smooth Mesh";
|
multithread.task = "Optimize Volume: Smooth Mesh";
|
||||||
|
|
||||||
topt.Start();
|
topt.Start();
|
||||||
int counter = 0;
|
|
||||||
for (auto icolor : Range(ncolors))
|
for (auto icolor : Range(ncolors))
|
||||||
{
|
{
|
||||||
if (multithread.terminate)
|
if (multithread.terminate)
|
||||||
@ -1423,8 +1422,6 @@ void Mesh :: ImproveMesh (const MeshingParameters & mp, OPTIMIZEGOAL goal)
|
|||||||
PointIndex pi = color_table[icolor][i];
|
PointIndex pi = color_table[icolor][i];
|
||||||
if ( (*this)[pi].Type() == INNERPOINT )
|
if ( (*this)[pi].Type() == INNERPOINT )
|
||||||
{
|
{
|
||||||
counter++;
|
|
||||||
|
|
||||||
double lh = pointh[pi];
|
double lh = pointh[pi];
|
||||||
pf.SetLocalH (lh);
|
pf.SetLocalH (lh);
|
||||||
par.typx = lh;
|
par.typx = lh;
|
||||||
|
Loading…
Reference in New Issue
Block a user