:orphan: # PCDeflationSetInitOnly Do only initialization step. Sets initial guess to the solution on the deflation space but does not apply the deflation preconditioner. The additional preconditioner is still applied. ## Synopsis ``` #include "petscksp.h" PetscErrorCode PCDeflationSetInitOnly(PC pc, PetscBool flg) ``` Logically Collective ## Input Parameters - ***pc -*** the preconditioner context - ***flg -*** default `PETSC_FALSE` ## Options Database Key - ***-pc_deflation_init_only -*** if true computes only the special guess ## See Also `PCDEFLATION` ## Level intermediate ## Location src/ksp/pc/impls/deflation/deflation.c ## Implementations PCDeflationSetInitOnly_Deflation in src/ksp/pc/impls/deflation/deflation.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/deflation/deflation.c) [Index of all PC routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)