how to get the explicit matrix of the preconditioner

Yujie recrusader at gmail.com
Mon Apr 28 10:48:05 CDT 2008


Thank you, Dave. I am wondering whether this function is ok to external
packages, such as Hypre? thanks a lot.

Regards,
Yujie

On 4/28/08, Dave May <dave.mayhem23 at gmail.com> wrote:
>
> Hi,
>   You can use PetscErrorCode PCComputeExplicitOperator(PC pc,Mat *mat)
>
> See,
>
> http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/PC/PCComputeExplicitOperator.html
>
>
>
> On Mon, Apr 28, 2008 at 8:19 AM, Yujie <recrusader at gmail.com> wrote:
>
> > Hi, everyone
> >
> > How to get the matrix "M_{L}^{-1}" in "M_{L}^{-1}Ax=M_{L}^{-1}b". I have
> > checked the function "PCGetOperators()". It only gets the matrix "pmat" used
> > to obtain the preconditioning matrix. thanks a lot.
> >
> > Regards,
> > Yujie
> >
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20080428/a387d0c4/attachment.htm>


More information about the petsc-users mailing list