#include "petscksp.h" PetscErrorCode KSPPythonSetType(KSP ksp,const char pyname[])Collective on ksp
ksp | - the linear solver (KSP) context. | |
pyname | - full dotted Python name [package].module[.{class|function}] |
-ksp_python_type <pyname> | - python class |