KSPGuessSetFromOptions#

Sets the options for a KSPGuess from the options database

Synopsis#

#include "petscksp.h"  
PetscErrorCode KSPGuessSetFromOptions(KSPGuess guess)

Collective

Input Parameter#

Options Database Keys#

  • -ksp_guess_type - Turns on generation of initial guesses and sets the method; use -help for a list of available methods

  • -ksp_guess_view - view the KSPGuess object

  • -ksp_guess_fischer_model <a,b> - set details for the Fischer models

  • -ksp_guess_fischer_monitor - monitor the Fischer models

  • -ksp_guess_fischer_tol - set the tolerance for the Fischer models

  • -ksp_guess_pod_size - Number of snapshots

  • -ksp_guess_pod_monitor true - monitor the pod initial guess processing

  • -ksp_guess_pod_tol - Tolerance to retain eigenvectors

  • -ksp_guess_pod_Ainner true - Use the operator as inner product (must be SPD)

See Also#

KSP: Linear System Solvers, KSPGuess, KSPGetGuess(), KSPGuessSetType(), KSPGuessType

Level#

developer

Location#

src/ksp/ksp/interface/iguess.c

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