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 (fischer|pod) - turns on generation of initial guesses and sets the method; see KSPGuessType

  • -ksp_guess_fischer_model model,size - set details for the Fischer models

  • -ksp_guess_fischer_monitor (true|false) - monitor the Fischer models

  • -ksp_guess_fischer_tol tol - set the tolerance for the Fischer models

  • -ksp_guess_pod_size size - number of POD snapshots

  • -ksp_guess_pod_monitor (true|false) - 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 the 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