mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-15 02:18:33 +05:00
Write debug output only if debugparam.debugoutput is set
This commit is contained in:
parent
6aa634ce1f
commit
600b33edd6
@ -198,10 +198,13 @@ void BoundaryLayerTool ::InterpolateGrowthVectors()
|
||||
}
|
||||
if (!point_found)
|
||||
{
|
||||
cerr << "Could not find connected list of line segments for edge "
|
||||
<< edgenr << endl;
|
||||
cerr << "current points: " << endl
|
||||
<< points << endl;
|
||||
if (debugparam.debugoutput)
|
||||
{
|
||||
cerr << "Could not find connected list of line segments for edge "
|
||||
<< edgenr << endl;
|
||||
cerr << "current points: " << endl
|
||||
<< points << endl;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -518,7 +518,7 @@ struct GrowthVectorLimiter
|
||||
ScaleLimit(pi_max_limit, 0.9);
|
||||
set_points();
|
||||
counter++;
|
||||
if (counter > 20)
|
||||
if (debugparam.debugoutput && counter > 20)
|
||||
{
|
||||
cerr << "Limit intersecting surface elements: too many "
|
||||
"limitation steps, sels: "
|
||||
|
Loading…
Reference in New Issue
Block a user