@@ -404,7 +404,7 @@ redistributeNodes(DataBase<Dimension>& dataBase,
404
404
405
405
// Define the the length scale we use to determine when the generator positions have converged.
406
406
const double tol = (xmax - xmin).minElement () * mTolerance ;
407
- if (procID == 0 ) cerr << " VoronoiRedistributeNodes: Found bounding box of " << xmin << " " << xmax << endl
407
+ if (procID == 0 ) cout << " VoronoiRedistributeNodes: Found bounding box of " << xmin << " " << xmax << endl
408
408
<< " yielding generator convergence tolerance of " << tol << endl;
409
409
410
410
// Determine the average work per generator.
@@ -531,7 +531,7 @@ redistributeNodes(DataBase<Dimension>& dataBase,
531
531
CHECK (newGeneratorsInParents.size () == newParentCells.size ());
532
532
generatorsInParents = newGeneratorsInParents;
533
533
parentCells = newParentCells;
534
- if (procID == 0 ) cerr << " Generation " << level << " : "
534
+ if (procID == 0 ) cout << " Generation " << level << " : "
535
535
<< numRemainingGenerators << " generators remaining in "
536
536
<< generatorsInParents.size () << " cells."
537
537
<< endl;
@@ -540,7 +540,7 @@ redistributeNodes(DataBase<Dimension>& dataBase,
540
540
541
541
// // Are there still remaining degeneracies in the generator positions?
542
542
// if (numRemainingGenerators > 0) {
543
- // if (procID == 0) cerr << " --> Breaking up " << numRemainingGenerators
543
+ // if (procID == 0) cout << " --> Breaking up " << numRemainingGenerators
544
544
// << " degeneracies in intial generator positions."
545
545
// << endl;
546
546
// for (vector<vector<size_t> >::const_iterator cellItr = generatorsInParents.begin();
@@ -648,7 +648,7 @@ redistributeNodes(DataBase<Dimension>& dataBase,
648
648
workRatio = maxWork*safeInv (minWork);
649
649
650
650
// Report this iterations statistics.
651
- if (procID == 0 ) cerr << " VoronoiRedistributeNodes: Lloyds iteration " << iteration << endl
651
+ if (procID == 0 ) cout << " VoronoiRedistributeNodes: Lloyds iteration " << iteration << endl
652
652
<< " max change: " << maxDeltaGenerator << endl
653
653
<< " work ratio change: " << workRatio << " " << oldWorkRatio << " " << abs (workRatio*safeInv (oldWorkRatio) - 1.0 ) << endl
654
654
<< " [min, max, avg] work [" << minWork << " , " << maxWork << " , " << avgWork << " ]" << endl
0 commit comments