[petsc-users] Is there any code to demostrate how to write a code to use direct solvers, such as superlu, sptools, mumps...
Matthew Knepley
knepley at gmail.com
Mon Mar 14 14:06:04 CDT 2011
On Mon, Mar 14, 2011 at 1:56 PM, <ning.an at ghiocel-tech.com> wrote:
> Dear PETSc Expert,
>
> I'm a newbie to use PETSc. I'd like to test few direct complex
> linear equation via PETSc interface. I don't find any example from the
> website. Please tell me where I can find one or more example, so I can get a
> littile bit understanding, and try to write the similar code.
>
KSP ex10 does exactly what you want. Just load in your matrix using
MatLoad().
Matt
> Thanks.
>
> Ning
>
--
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110314/f4a66f9b/attachment.htm>
More information about the petsc-users
mailing list