KSPGuessSetFromOptions#
Sets the options for a KSPGuess from the options database
Synopsis#
#include "petscksp.h"
PetscErrorCode KSPGuessSetFromOptions(KSPGuess guess)
Collective
Input Parameter#
guess -
KSPGuessobject
Options Database Keys#
-ksp_guess_type method - Turns on generation of initial guesses and sets the method; see
KSPGuessType-ksp_guess_view viewer - view the
KSPGuessobject-ksp_guess_fischer_model a,b - set details for the Fischer models
-ksp_guess_fischer_monitor - monitor the Fischer models
-ksp_guess_fischer_tol tol - set the tolerance for the Fischer models
-ksp_guess_pod_size size - Number of snapshots
-ksp_guess_pod_monitor - monitor the pod initial guess processing
-ksp_guess_pod_tol tol - Tolerance to retain eigenvectors
-ksp_guess_pod_Ainner (true|false) - Use the operator as inner product (must be SPD)
See Also#
KSP: Linear System Solvers, KSPGuess, KSPGetGuess(), KSPGuessSetType(), KSPGuessType
Level#
developer
Location#
Implementations#
KSPGuessSetFromOptions_Fischer() in src/ksp/ksp/guess/impls/fischer/fischer.c
KSPGuessSetFromOptions_POD() in src/ksp/ksp/guess/impls/pod/pod.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages