mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-25 15:52:03 +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)
|
if (!point_found)
|
||||||
{
|
{
|
||||||
cerr << "Could not find connected list of line segments for edge "
|
if (debugparam.debugoutput)
|
||||||
<< edgenr << endl;
|
{
|
||||||
cerr << "current points: " << endl
|
cerr << "Could not find connected list of line segments for edge "
|
||||||
<< points << endl;
|
<< edgenr << endl;
|
||||||
|
cerr << "current points: " << endl
|
||||||
|
<< points << endl;
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -518,7 +518,7 @@ struct GrowthVectorLimiter
|
|||||||
ScaleLimit(pi_max_limit, 0.9);
|
ScaleLimit(pi_max_limit, 0.9);
|
||||||
set_points();
|
set_points();
|
||||||
counter++;
|
counter++;
|
||||||
if (counter > 20)
|
if (debugparam.debugoutput && counter > 20)
|
||||||
{
|
{
|
||||||
cerr << "Limit intersecting surface elements: too many "
|
cerr << "Limit intersecting surface elements: too many "
|
||||||
"limitation steps, sels: "
|
"limitation steps, sels: "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user