[petsc-dev] MatNest and inner KSP
Pierre Jolivet
pierre.jolivet at enseeiht.fr
Wed Dec 19 00:01:18 CST 2018
Hello,
I have a PCFIELDSPLIT where the fields are defined by a MATNEST “decomposition”.
Right now, I am first defining the KSP of the diagonal blocks of the MATNEST, which are themselves PCFIELDSPLIT, then creating the Mat itself, and eventually I’d like to solve systems with the complete MATNEST.
However, the KSP and PC options of the “first level" inner solvers are not propagated to the global outer solver.
Can this be achieved somehow, or do I always need to set the options in the opposite direction (first outer solver, then inner solvers, e.g., through a cascade of PCFieldSplitGetSubKSP)?
Thanks in advance,
Pierre
More information about the petsc-dev
mailing list