[cig-commits] r18251 - short/3D/PyLith/trunk/libsrc/problems
brad at geodynamics.org
brad at geodynamics.org
Tue Apr 19 16:55:44 PDT 2011
Author: brad
Date: 2011-04-19 16:55:43 -0700 (Tue, 19 Apr 2011)
New Revision: 18251
Modified:
short/3D/PyLith/trunk/libsrc/problems/Solver.cc
Log:
Fixed setting context for A.
Modified: short/3D/PyLith/trunk/libsrc/problems/Solver.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/problems/Solver.cc 2011-04-19 22:17:01 UTC (rev 18250)
+++ short/3D/PyLith/trunk/libsrc/problems/Solver.cc 2011-04-19 23:55:43 UTC (rev 18251)
@@ -204,11 +204,10 @@
// Set preconditioning matrix in formulation
formulation->customPCMatrix(_jacobianPCFault);
- assert(_jacobianPC);
assert(_jacobianPCFault);
_ctx.pc = *pc;
- _ctx.A = _jacobianPC;
+ _ctx.A = jacobian.matrix();
_ctx.faultFieldName = "3";
_ctx.faultA = _jacobianPCFault;
} // if
More information about the CIG-COMMITS
mailing list