[petsc-users] PCFieldSplit gives different results for direct and iterative solver

Mark Adams mfadams at lbl.gov
Tue Mar 19 08:10:42 CDT 2019


>
>
>
>   -fieldsplit_velocity_ksp_type preonly -fieldsplit_velocity_pc_type gamg
>   -fieldsplit_pressure_ksp_type minres  -fieldsplit_pressure_pc_type none
>

You should use cg for the ksp_type with gamg if you are symmetric and gmres
if not (you can try cg even if it is mildly asymmetric).

minres is for indefinite symmetric, but you probably are SPD and should use
cg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190319/f149a0c1/attachment.html>


More information about the petsc-users mailing list