[cig-commits] r22092 - short/3D/PyLith/trunk/libsrc/pylith/topology

brad at geodynamics.org brad at geodynamics.org
Fri May 17 11:40:43 PDT 2013


Author: brad
Date: 2013-05-17 11:40:43 -0700 (Fri, 17 May 2013)
New Revision: 22092

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc
Log:
Remove debugging output.

Modified: short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc	2013-05-17 18:40:13 UTC (rev 22091)
+++ short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc	2013-05-17 18:40:43 UTC (rev 22092)
@@ -982,13 +982,10 @@
   
   // Only create if scatter and scatterVec do not alreay exist.
   if (sinfo.dm) {
-    std::cout << "Reusing scatter '" << context << "'" << std::endl;
     assert(sinfo.vector);
     PYLITH_METHOD_END;
   } // if
 
-  std::cout << "Setup scatter '" << context << "'" << std::endl;
-
   PetscDM dm = mesh.dmMesh();assert(dm);
   PetscSection section, newSection, gsection, subSection = NULL;
   PetscSF sf;
@@ -1226,7 +1223,6 @@
     err = DMDestroy(&sinfo.dm);PYLITH_CHECK_ERROR(err);
     err = VecDestroy(&sinfo.vector);PYLITH_CHECK_ERROR(err);
 
-    std::cout << "Removing scatter '" << context << "'" << std::endl;
     _scatters.erase(context);
     isNewScatter = true;
   } // if
@@ -1239,7 +1235,6 @@
   
   ScatterInfo& sinfo = _scatters[context];
   if (isNewScatter) {
-    std::cout << "Creating scatter '" << context << "'" << std::endl;
     sinfo.dm = 0;
     sinfo.vector = 0;
   } // if



More information about the CIG-COMMITS mailing list