[petsc-users] ILU preconditioner
Jed Brown
jed at 59A2.org
Fri Jun 3 09:12:24 CDT 2011
On Fri, Jun 3, 2011 at 16:07, Barry Smith <bsmith at mcs.anl.gov> wrote:
> Unfortunately PETSc is restricted to working with only real or complex
> objects at one time and one cannot mix some real and some complex.
If I understand correctly, Danesh intends to use an external package (MKL)
for the ILU on the real part. That will work fine with PCShell. His setup
function will pull out the real part of the matrix, put it into an MKL data
structure, and do the factorization. Then the apply function will take the
input vector apart, solve with the MKL factorization, and put the result
back together in the output vector. A bit awkward perhaps, but it should
work fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110603/5b1e0342/attachment.htm>
More information about the petsc-users
mailing list