[cig-commits] [commit] knepley/upgrade-petsc-interface: Turn off some debugging output. (d4a29d6)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Oct 31 17:14:58 PDT 2013


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/89e29faba55ec6ad39b71ed64e702e732b9fdc2f...52536faa2c7b081390b2a5999b2d2ed824e13d82

>---------------------------------------------------------------

commit d4a29d65b52b1b5fac0e9a3bf549b92fd839a068
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Thu Oct 31 17:13:59 2013 -0700

    Turn off some debugging output.


>---------------------------------------------------------------

d4a29d65b52b1b5fac0e9a3bf549b92fd839a068
 unittests/libtests/bc/TestBoundaryMesh.cc        | 2 ++
 unittests/libtests/topology/TestRefineUniform.cc | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/unittests/libtests/bc/TestBoundaryMesh.cc b/unittests/libtests/bc/TestBoundaryMesh.cc
index 9128330..63d08d5 100644
--- a/unittests/libtests/bc/TestBoundaryMesh.cc
+++ b/unittests/libtests/bc/TestBoundaryMesh.cc
@@ -154,9 +154,11 @@ pylith::bc::TestBoundaryMesh::testSubmeshFault(void)
   // Create submesh
   topology::Mesh submesh(mesh, _data->bcLabel);
   PetscDM dmMesh = submesh.dmMesh();CPPUNIT_ASSERT(dmMesh);
+#if 0 // DEBUGGING
   PetscViewerPushFormat(PETSC_VIEWER_STDOUT_WORLD, PETSC_VIEWER_ASCII_INFO_DETAIL);
   DMView(mesh.dmMesh(), PETSC_VIEWER_STDOUT_WORLD);
   PetscViewerPopFormat(PETSC_VIEWER_STDOUT_WORLD);
+#endif
 
   // Check consistency
   err = DMPlexCheckSymmetry(dmMesh);CPPUNIT_ASSERT(!err);
diff --git a/unittests/libtests/topology/TestRefineUniform.cc b/unittests/libtests/topology/TestRefineUniform.cc
index 71a2edf..a5f87d6 100644
--- a/unittests/libtests/topology/TestRefineUniform.cc
+++ b/unittests/libtests/topology/TestRefineUniform.cc
@@ -346,7 +346,6 @@ pylith::topology::TestRefineUniform::_testRefine(const MeshDataCohesive& data,
     CPPUNIT_ASSERT_EQUAL(std::string(data.groupTypes[iGroup]), groupType);
     PetscInt numPoints;
     err = DMPlexGetStratumSize(dmMesh, name, 1, &numPoints);PYLITH_CHECK_ERROR(err);
-    std::cout << "NAME:" << name << ", size: " << numPoints << std::endl;
     CPPUNIT_ASSERT_EQUAL(data.groupSizes[iGroup], numPoints);
     PetscIS pointIS = NULL;
     const PetscInt *points = NULL;



More information about the CIG-COMMITS mailing list