[petsc-users] How to set PC sub type
Satish Balay
balay at mcs.anl.gov
Mon Dec 21 12:54:49 CST 2020
check PCBJacobiGetSubKSP() usage - for ex: src/ksp/ksp/tutorials/ex7.c
Satish
On Mon, 21 Dec 2020, Mohammad Gohardoust wrote:
> Hi,
>
> My question seems to be simple but I couldn't find the answer to it. I know
> that for the option -pc_type, there is an equivalent "PCSetType" function,
> but how about -sub_pc_type? How can I implement "-pc_type
> bjacobi -sub_pc_type icc" in my code?
>
> Thanks,
> Mohammad
>
More information about the petsc-users
mailing list