[cig-commits] r12409 - in short/3D/PyLith/trunk/unittests/libtests: bc feassemble
brad at geodynamics.org
brad at geodynamics.org
Mon Jul 14 10:22:53 PDT 2008
Author: brad
Date: 2008-07-14 10:22:53 -0700 (Mon, 14 Jul 2008)
New Revision: 12409
Modified:
short/3D/PyLith/trunk/unittests/libtests/bc/TestAbsorbingDampers.cc
short/3D/PyLith/trunk/unittests/libtests/feassemble/TestElasticityImplicit.cc
Log:
Removed superfluous debugging output.
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/TestAbsorbingDampers.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/TestAbsorbingDampers.cc 2008-07-14 17:22:23 UTC (rev 12408)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/TestAbsorbingDampers.cc 2008-07-14 17:22:53 UTC (rev 12409)
@@ -179,7 +179,7 @@
CPPUNIT_ASSERT(!dispTpdt.isNull());
PetscMat jacobian;
- mesh->getFactory()->getGlobalOrder(mesh, "default", dispTpdt)->view("Global Order");
+ //mesh->getFactory()->getGlobalOrder(mesh, "default", dispTpdt)->view("Global Order");
PetscErrorCode err = MeshCreateMatrix(mesh, dispTpdt, MATMPIBAIJ, &jacobian);
CPPUNIT_ASSERT(0 == err);
@@ -217,7 +217,7 @@
cols[iCol] = iCol;
MatGetValues(jDense, nrows, &rows[0], ncols, &cols[0], &vals[0]);
-#if 1
+#if 0
std::cout << "JACOBIAN\n";
for (int iRow=0, i=0; iRow < nrows; ++iRow)
for (int iCol=0; iCol < ncols; ++iCol, ++i)
Modified: short/3D/PyLith/trunk/unittests/libtests/feassemble/TestElasticityImplicit.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/feassemble/TestElasticityImplicit.cc 2008-07-14 17:22:23 UTC (rev 12408)
+++ short/3D/PyLith/trunk/unittests/libtests/feassemble/TestElasticityImplicit.cc 2008-07-14 17:22:53 UTC (rev 12409)
@@ -221,10 +221,10 @@
CPPUNIT_ASSERT(0 == err);
const double t = 1.0;
- mesh->getSieve()->setDebug(10);
+ //mesh->getSieve()->setDebug(10);
integrator.integrateJacobian(&jacobian, t, &fields, mesh);
CPPUNIT_ASSERT_EQUAL(false, integrator.needNewJacobian());
- mesh->getSieve()->setDebug(0);
+ //mesh->getSieve()->setDebug(0);
err = MatAssemblyBegin(jacobian, MAT_FINAL_ASSEMBLY);
CPPUNIT_ASSERT(0 == err);
@@ -347,7 +347,7 @@
residual->setFiberDimension((*mesh)->depthStratum(0), _data->spaceDim);
(*mesh)->allocate(residual);
residual->zero();
- residual->view("Residual");
+ //residual->view("Residual");
fields->copyLayout("residual");
const int fieldSize = _data->spaceDim * _data->numVertices;
More information about the cig-commits
mailing list