[cig-commits] r16816 - short/3D/PyLith/trunk/playpen/faultpc

brad at geodynamics.org brad at geodynamics.org
Thu May 27 16:06:51 PDT 2010


Author: brad
Date: 2010-05-27 16:06:51 -0700 (Thu, 27 May 2010)
New Revision: 16816

Modified:
   short/3D/PyLith/trunk/playpen/faultpc/checkfaultpc.py
Log:
Fixed some typos.

Modified: short/3D/PyLith/trunk/playpen/faultpc/checkfaultpc.py
===================================================================
--- short/3D/PyLith/trunk/playpen/faultpc/checkfaultpc.py	2010-05-27 22:49:14 UTC (rev 16815)
+++ short/3D/PyLith/trunk/playpen/faultpc/checkfaultpc.py	2010-05-27 23:06:51 UTC (rev 16816)
@@ -67,6 +67,6 @@
 # Print simplified terms for preconditioner formed with diagonal approximations
 CCti = numpy.linalg.inv(numpy.dot(C, C.transpose()))
 print "Pd00:", -numpy.dot(Aid, numpy.dot(numpy.dot(C.transpose(), CCti), C))
-print "Pd01:", numpy.dot(C.transpose(), CCti)
-print "Pd10:", numpy.dot(CCti, C)
+print "Pd01:", 0.5*C.transpose()
+print "Pd10:", 0.5*C
 print "Pd11:", -CACdi



More information about the CIG-COMMITS mailing list