[cig-commits] r22023 - short/3D/PyLith/trunk/libsrc/pylith/topology
knepley at geodynamics.org
knepley at geodynamics.org
Thu May 9 20:53:58 PDT 2013
Author: knepley
Date: 2013-05-09 20:53:58 -0700 (Thu, 09 May 2013)
New Revision: 22023
Modified:
short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc
Log:
Removed debugging prints
Modified: short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc 2013-05-10 01:56:48 UTC (rev 22022)
+++ short/3D/PyLith/trunk/libsrc/pylith/topology/Field.cc 2013-05-10 03:53:58 UTC (rev 22023)
@@ -1092,7 +1092,6 @@
PetscIS subpointIS;
PetscInt n, q;
- err = PetscPrintf(PETSC_COMM_SELF, "Making translation PetscSection\n");PYLITH_CHECK_ERROR(err);
err = PetscSectionGetChart(section, &qStart, &qEnd);PYLITH_CHECK_ERROR(err);
err = DMPlexCreateSubpointIS(dm, &subpointIS);PYLITH_CHECK_ERROR(err);
err = ISGetLocalSize(subpointIS, &n);PYLITH_CHECK_ERROR(err);
@@ -1115,7 +1114,6 @@
err = ISRestoreIndices(subpointIS, &ind);PYLITH_CHECK_ERROR(err);
err = ISDestroy(&subpointIS);PYLITH_CHECK_ERROR(err);
/* No need to setup section */
- err = PetscSectionView(subSection, PETSC_VIEWER_STDOUT_WORLD);PYLITH_CHECK_ERROR(err);
section = subSection;
/* There are no excludes for surface meshes */
numExcludes = 0;
@@ -1135,9 +1133,6 @@
err = DMPlexGetLabel(sinfo.dm, labelName.c_str(), &label);PYLITH_CHECK_ERROR(err);
err = PetscSectionCreateGlobalSectionLabel(section, sf, PETSC_TRUE, label, labelValue, &gsection);PYLITH_CHECK_ERROR(err);
} // if/else
- if (((dim != dimF) || ((pEnd-pStart) < (qEnd-qStart))) && subpointMap && !subpointMapF) {
- err = PetscSectionView(gsection, PETSC_VIEWER_STDOUT_WORLD);PYLITH_CHECK_ERROR(err);
- } // if
err = DMSetDefaultGlobalSection(sinfo.dm, gsection);PYLITH_CHECK_ERROR(err);
err = PetscSectionDestroy(&gsection);PYLITH_CHECK_ERROR(err);
err = VecDestroy(&sinfo.vector);PYLITH_CHECK_ERROR(err);
More information about the CIG-COMMITS
mailing list