PCDeflationSetSpaceToCompute#
Set deflation space type and size to compute.
Synopsis#
#include "petscksp.h"
PetscErrorCode PCDeflationSetSpaceToCompute(PC pc, PCDeflationSpaceType type, PetscInt size)
Logically Collective
Input Parameters#
pc - the preconditioner context
type - deflation space type to compute (or
PETSC_IGNORE
)size - size of the space to compute (or
PETSC_DEFAULT
)
Options Database Keys#
-pc_deflation_compute_space
- computePCDeflationSpaceType
deflation space-pc_deflation_compute_space_size <1> - size of the deflation space
Notes#
For wavelet-based deflation, size represents number of levels.
The deflation space is computed in PCSetUp()
.
See Also#
Level#
intermediate
Location#
Implementations#
PCDeflationSetSpaceToCompute_Deflation in src/ksp/pc/impls/deflation/deflation.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages