[cig-commits] r14940 - short/3D/PyLith/trunk/libsrc/feassemble

brad at geodynamics.org brad at geodynamics.org
Fri May 8 19:37:34 PDT 2009


Author: brad
Date: 2009-05-08 19:37:34 -0700 (Fri, 08 May 2009)
New Revision: 14940

Modified:
   short/3D/PyLith/trunk/libsrc/feassemble/ElasticityExplicit.cc
Log:
Fixed setting of allowing incremental solution.

Modified: short/3D/PyLith/trunk/libsrc/feassemble/ElasticityExplicit.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/feassemble/ElasticityExplicit.cc	2009-05-09 02:31:34 UTC (rev 14939)
+++ short/3D/PyLith/trunk/libsrc/feassemble/ElasticityExplicit.cc	2009-05-09 02:37:34 UTC (rev 14940)
@@ -72,8 +72,8 @@
 void
 pylith::feassemble::ElasticityExplicit::useSolnIncr(const bool flag)
 { // useSolnIncr
-  if (flag)
-    throw std::logic_error("Incremental solution not supported for "
+  if (!flag)
+    throw std::logic_error("Non-incremental solution not supported for "
 			   "explicit time integration of elasticity "
 			   "equation.");
 } // useSolnIncr



More information about the CIG-COMMITS mailing list