mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 14:40:35 +05:00
debug
This commit is contained in:
parent
b62d6af68d
commit
b98cd54263
@ -344,6 +344,8 @@ namespace netgen
|
|||||||
{
|
{
|
||||||
NgProfiler::RegionTimer reg1 (timer1);
|
NgProfiler::RegionTimer reg1 (timer1);
|
||||||
|
|
||||||
|
char ch;
|
||||||
|
cin >> ch;
|
||||||
|
|
||||||
if (multithread.terminate)
|
if (multithread.terminate)
|
||||||
throw NgException ("Meshing stopped");
|
throw NgException ("Meshing stopped");
|
||||||
@ -474,6 +476,7 @@ namespace netgen
|
|||||||
if (debugparam.haltlargequalclass && qualclass > 50)
|
if (debugparam.haltlargequalclass && qualclass > 50)
|
||||||
debugflag = 1;
|
debugflag = 1;
|
||||||
|
|
||||||
|
debugflag = 1;
|
||||||
|
|
||||||
// problem recognition !
|
// problem recognition !
|
||||||
if (found &&
|
if (found &&
|
||||||
@ -749,9 +752,22 @@ namespace netgen
|
|||||||
|
|
||||||
if (found)
|
if (found)
|
||||||
{
|
{
|
||||||
|
if (debugflag)
|
||||||
|
(*testout) << "before applyrules" << endl
|
||||||
|
<< "plainpoints = " << endl << plainpoints
|
||||||
|
<< "legalpoints = " << endl << legalpoints
|
||||||
|
<< "maxlegalpoint = " << maxlegalpoint
|
||||||
|
<< "loclines = " << endl << loclines << endl
|
||||||
|
<< "maxlegalline = " << maxlegalline << endl;
|
||||||
|
// << "mp = " << mp << endl;
|
||||||
|
|
||||||
rulenr = ApplyRules (plainpoints, legalpoints, maxlegalpoint,
|
rulenr = ApplyRules (plainpoints, legalpoints, maxlegalpoint,
|
||||||
loclines, maxlegalline, locelements,
|
loclines, maxlegalline, locelements,
|
||||||
dellines, qualclass, mp);
|
dellines, qualclass, mp);
|
||||||
|
|
||||||
|
if (debugflag)
|
||||||
|
*testout << "rulenr = " << rulenr << endl;
|
||||||
|
|
||||||
// (*testout) << "Rule Nr = " << rulenr << endl;
|
// (*testout) << "Rule Nr = " << rulenr << endl;
|
||||||
if (!rulenr)
|
if (!rulenr)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user