[cig-commits] [commit] knepley/upgrade-petsc-interface: Removed some old debugging stuff. (e5afe93)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Nov 4 17:18:48 PST 2013


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/eb2a274e7c39b6610ad0ae306ac79a71e8e4d8a1...1162fc69f725ebda40f5cb40d68e96ca6fbda4e9

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

commit e5afe9326ecd6e7984d068238a36885208f98b2c
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Mon Nov 4 17:20:06 2013 -0800

    Removed some old debugging stuff.


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

e5afe9326ecd6e7984d068238a36885208f98b2c
 libsrc/pylith/topology/ReverseCuthillMcKee.cc | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libsrc/pylith/topology/ReverseCuthillMcKee.cc b/libsrc/pylith/topology/ReverseCuthillMcKee.cc
index a1dbb25..8e62a18 100644
--- a/libsrc/pylith/topology/ReverseCuthillMcKee.cc
+++ b/libsrc/pylith/topology/ReverseCuthillMcKee.cc
@@ -34,7 +34,6 @@ pylith::topology::ReverseCuthillMcKee::reorder(topology::Mesh* mesh)
   if (numCells > 0) {
     // Reorder mesh if mesh is only on proc 0 --or--
     // reorder mesh on each processor indpendently.
-#if 1
     PetscIS permutation;
     PetscDM dmOrig = mesh->dmMesh();
     PetscDM dmNew = NULL;
@@ -43,10 +42,8 @@ pylith::topology::ReverseCuthillMcKee::reorder(topology::Mesh* mesh)
     err = DMPlexPermute(dmOrig, permutation, &dmNew);PYLITH_CHECK_ERROR(err);
     err = ISDestroy(&permutation);PYLITH_CHECK_ERROR(err);
     mesh->dmMesh(dmNew);
-#else
-    std::cerr << "WARNING: Reverse Cuthill McKee temporarily disabled." << std::endl;
-#endif
   } // if
+
 } // reorder
 
 



More information about the CIG-COMMITS mailing list