how to get the explicit matrix of the preconditioner

Dave May dave.mayhem23 at gmail.com
Mon Apr 28 02:11:48 CDT 2008


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/5b9ca805/attachment.htm>


More information about the petsc-users mailing list