[cig-commits] r16487 - short/3D/PyLith/trunk/unittests/libtests/faults
brad at geodynamics.org
brad at geodynamics.org
Fri Apr 2 08:30:30 PDT 2010
Author: brad
Date: 2010-04-02 08:30:29 -0700 (Fri, 02 Apr 2010)
New Revision: 16487
Modified:
short/3D/PyLith/trunk/unittests/libtests/faults/TestFaultCohesiveDyn.cc
Log:
Turned off debugging output.
Modified: short/3D/PyLith/trunk/unittests/libtests/faults/TestFaultCohesiveDyn.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/TestFaultCohesiveDyn.cc 2010-04-02 15:30:04 UTC (rev 16486)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/TestFaultCohesiveDyn.cc 2010-04-02 15:30:29 UTC (rev 16487)
@@ -357,7 +357,7 @@
for (int i = 0; i < fiberDimE; ++i) {
const int index = iVertex * spaceDim + i;
const double valE = valsE[index];
-#if 1 // DEBUGGING
+#if 0 // DEBUGGING
std::cout << "SOLUTION valE: " << valE
<< ", val: " << vals[i]
<< ", error: " << fabs(1.0-vals[i]/valE)
@@ -391,8 +391,6 @@
fault._fields->get("slip").section();
CPPUNIT_ASSERT(!slipSection.isNull());
- slipSection->view("SLIP");
-
// Get expected values
const double* valsE = _data->slipSlipE;
int iVertex = 0; // variable to use as index into valsE array
@@ -411,7 +409,7 @@
for (int i = 0; i < fiberDimE; ++i) {
const int index = iVertex * spaceDim + i;
const double valE = valsE[index];
-#if 1 // DEBUGGING
+#if 0 // DEBUGGING
std::cout << "SLIP valE: " << valE
<< ", val: " << vals[i]
<< ", error: " << fabs(1.0-vals[i]/valE)
More information about the CIG-COMMITS
mailing list