[cig-commits] commit: Remove a lot of printf's.

Mercurial hg at geodynamics.org
Fri Feb 25 14:14:51 PST 2011


changeset:   48:13bda96c5b6d
user:        Walter Landry <wlandry at caltech.edu>
date:        Tue Jan 11 22:31:43 2011 -0800
files:       StokesFACOps/smoothErrorByRedBlack.C
description:
Remove a lot of printf's.


diff -r 291fbe064ab0 -r 13bda96c5b6d StokesFACOps/smoothErrorByRedBlack.C
--- a/StokesFACOps/smoothErrorByRedBlack.C	Tue Jan 11 22:16:01 2011 -0800
+++ b/StokesFACOps/smoothErrorByRedBlack.C	Tue Jan 11 22:31:43 2011 -0800
@@ -54,11 +54,6 @@ void SAMRAI::solv::StokesFACOps::smoothE
  int num_sweeps,
  double residual_tolerance)
 {
-  tbox::plog << "Smooth "
-             << ln << " "
-             << num_sweeps << " "
-             << "\n";
-
   const int p_id(solution.getComponentDescriptorIndex(0)),
     p_rhs_id(residual.getComponentDescriptorIndex(0)),
     v_id(solution.getComponentDescriptorIndex(1)),
@@ -144,33 +139,6 @@ void SAMRAI::solv::StokesFACOps::smoothE
                   --down[1];
                   ++right[0];
                   --left[0];
-
-
-                  if(i!=pbox.upper(0)+1 && j!=pbox.upper(1)+1)
-                  tbox::plog << "relax "
-                             << i << " "
-                             << j << " "
-                             << (*p)(center) << " "
-                             << &((*p)(center)) << " "
-                             << (*v)(pdat::SideIndex(center,
-                                                     pdat::SideIndex::X,
-                                                     pdat::SideIndex::Lower)) << " "
-
-                             << (*v)(pdat::SideIndex(center,
-                                                     pdat::SideIndex::Y,
-                                                     pdat::SideIndex::Lower)) << " "
-                             << (*p_rhs)(center) << " "
-                             << (*v_rhs)(pdat::SideIndex(center,
-                                                         pdat::SideIndex::X,
-                                                         pdat::SideIndex::Lower)) << " "
-
-                             << (*v_rhs)(pdat::SideIndex(center,
-                                                         pdat::SideIndex::Y,
-                                                         pdat::SideIndex::Lower)) << " "
-                             << "\n";
-
-
-
 
                   /* Update p */
                   if(i!=pbox.upper(0)+1 && j!=pbox.upper(1)+1)



More information about the CIG-COMMITS mailing list