[petsc-users] about pclu

Ryan Yan vyan2000 at gmail.com
Thu Apr 7 09:21:13 CDT 2011


Wait, so is it for PREONLY? And what Matsolve does, solving a triangular
system with both L and U available?
The reason that I previously guess the count be two is that I think there is
a back-substituiton
and a forward-substitution involved in solving a linear system using
factorization. If a pair of
back-substitution and forward-substitution counts 1 MatSolve. Then I think
we mean the same thing.

Thanks,

Yan

On Thu, Apr 7, 2011 at 10:08 AM, Jed Brown <jed at 59a2.org> wrote:

> On Thu, Apr 7, 2011 at 16:06, Ryan Yan <vyan2000 at gmail.com> wrote:
>
>> Hi Jed,
>> How is going? :-)
>>
>> PREONLY maybe also use two MatSolve? Or is there any magic I did not see.
>> :-)
>>
>
> Why do you say that?
>
> $ ./ex2 -pc_type lu -ksp_type preonly -log_summary |g '^MatSolve'
> MatSolve               1 1.0 1.1921e-05 1.0 1.22e+03 1.0 0.0e+00 0.0e+00
> 0.0e+00  0 22  0  0  0   0 22  0  0  0   102
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110407/e6979140/attachment.htm>


More information about the petsc-users mailing list