int KSPSetOptionsPrefix(KSP ksp,char *prefix)Collective on KSP
ksp | - the Krylov context |
prefix | - the prefix string to prepend to all KSP option requests |
For example, to distinguish between the runtime options for twodifferent KSP contexts, one could call
KSPSetOptionsPrefix(ksp1,"sys1_") KSPSetOptionsPrefix(ksp2,"sys2_")
This would enable use of different options for each system, such as
-sys1_ksp_type gmres -sys1_ksp_rtol 1.e-3 -sys2_ksp_type bcgs -sys2_ksp_rtol 1.e-4
Location: src/ksp/interface/itcl.c
KSP Index
Table of Contents