Skip to content
Snippets Groups Projects
Commit 5ebbd363 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

//debmsg

parent b284c537
No related branches found
No related tags found
No related merge requests found
......@@ -271,11 +271,11 @@ void NPlot::Plot( class CPlot *plot, bool add )
// refinement loop:
for ( int iref=0; ; ++iref ) {
cout << "DEB iref=" << iref << "\n";
//cout << "DEB iref=" << iref << "\n";
// evaluate curve for grid xc:
fc->curve_val_vec( &yc, xc, k, j );
cout << "DEB evaluation -> " << xc.size() << "\n";
//cout << "DEB evaluation -> " << xc.size() << "\n";
// merge xc,yc and xn,yn:
if ( iref==0 ) {
......@@ -306,9 +306,9 @@ void NPlot::Plot( class CPlot *plot, bool add )
}
xn = xa; yn = ya;
}
cout << "DEB merger -> " << xn.size() << "\n";
for ( uint i=0; i<xn.size(); ++i )
printf ("DEB xy %12.6g %12.6g\n", xn[i], yn[i] );
//cout << "DEB merger -> " << xn.size() << "\n";
//for ( uint i=0; i<xn.size(); ++i )
//printf ("DEB xy %12.6g %12.6g\n", xn[i], yn[i] );
// end of loop
if ( iref>=10 || xn.size()>=plot->maxpoints )
......@@ -338,9 +338,9 @@ void NPlot::Plot( class CPlot *plot, bool add )
xa.push_back( xn.back() );
ya.push_back( yn.back() );
xn = xa; yn = ya;
cout << "DEB within frame -> " << xn.size() << "\n";
for ( uint i=0; i<xn.size(); ++i )
printf ("DEB xy %12.6g %12.6g\n", xn[i], yn[i] );
//cout << "DEB within frame -> " << xn.size() << "\n";
//for ( uint i=0; i<xn.size(); ++i )
//printf ("DEB xy %12.6g %12.6g\n", xn[i], yn[i] );
// set additional base points:
bool insert_next = false;
......@@ -353,14 +353,14 @@ void NPlot::Plot( class CPlot *plot, bool add )
if ( fabs( yn[i] - yi ) > 0.01*
(plot->Y.sup - plot->Y.inf) ) {
xc.push_back( (xn[i-1] + xn[i])/2 );
cout << "DEB disc " << xc.back() << "\n";
//cout << "DEB disc " << xc.back() << "\n";
insert_next = true;
continue;
}
}
if ( insert_next ) {
xc.push_back( (xn[i-1] + xn[i])/2 );
cout << "DEB next " << xc.back() << "\n";
//cout << "DEB next " << xc.back() << "\n";
insert_next = false;
continue;
}
......@@ -368,7 +368,7 @@ void NPlot::Plot( class CPlot *plot, bool add )
!plot->Y.contains(yc[i-1]) ) ||
( !plot->Y.contains(yc[i]) &&
plot->Y.contains(yc[i-1]) ) ) {
cout << "DEB edge " << xc.back() << "\n";
//cout << "DEB edge " << xc.back() << "\n";
xc.push_back( (xn[i-1] + xn[i])/2 );
continue;
}
......@@ -392,7 +392,7 @@ void NPlot::Plot( class CPlot *plot, bool add )
}
if ( !plot->Y.contains(yn[i]) || i==xn.size()-1 ) {
if ( xa.size() ){
cout << "DEB segment -> " << xa.size() << "\n";
//cout << "DEB segment -> " << xa.size() << "\n";
plot->addSpec(
true, cstyle, xa, ya,
novec, f->V[j]->z, f->xco.str(), f->yco.str(),
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment