Remove output while generating fieldlines

This commit is contained in:
Matthias Hochsteger 2024-05-21 16:10:13 +02:00
parent 2072f70f7f
commit 1dc353d3c5

View File

@ -206,13 +206,8 @@ namespace netgen
int calculated = 0;
cout << endl;
for(int i=0; i<potential_startpoints.Size(); i++)
{
cout << "\rFieldline Calculation " << int(100.*i/potential_startpoints.Size()) << "%"; cout.flush();
if(randomized)
SetCriticalValue((double(rand())/RAND_MAX)*crit);
@ -235,7 +230,6 @@ namespace netgen
if(usable) calculated++;
}
cout << "\rFieldline Calculation " << 100 << "%" << endl;
}