[petsc-users] Linear Solver Problem

Sharp Stone thronesf at gmail.com
Mon Nov 24 16:07:53 CST 2014


Dear all,

I encountered a weird results from petsc linear solver. I have output the
same matrix and RHS vector from the linear system, and solve it also with
matlab. When dof is 1, both solvers from Matlab and Petsc can give me the
same results, However, Matlab can give me the right result but petsc does
not when dof=4.

I attached the matrix and RHS vectors for dof=4 case. I don't know where I
made wrong, or else. Thanks a million in advance!

-- 
Best regards,

Feng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141124/45d769f9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mat0.dat
Type: application/octet-stream
Size: 4969024 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141124/45d769f9/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RHSVec0.dat
Type: application/octet-stream
Size: 164840 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141124/45d769f9/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compare.jpg
Type: image/jpeg
Size: 181030 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141124/45d769f9/attachment-0001.jpg>


More information about the petsc-users mailing list