user's own preconditioner for PCG

Barry Smith bsmith at mcs.anl.gov
Thu May 7 16:11:44 CDT 2009


   See the manual page for PCSHELL


On May 7, 2009, at 4:09 PM, Shao-Ching Huang wrote:

> Hi,
>
> In a parallel PCG solve, is there a way to instruct PETSc to call my  
> own (serial) solver to invert the per-process, local precondition  
> matrix (as in the block-Jacobi preconditioner)?
>
> Is there an example/documentation that I can follow? Which part of  
> code should I start looking at?
>
> We are trying to determine if there is any value to use the  
> aforementioned customized preconditioner as compared to the general  
> ones in PETSc and to DMMG, for this particular matrix at hand. This  
> is a structured mesh problem.
>
> Thank you.
>
> Shao-Ching



More information about the petsc-users mailing list