PETSc version 3.15.5
Fix/Edit manual page

# 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 <haar> | - compute PCDeflationSpaceType 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

PCDeflationSetLevels(), PCDEFLATION

### Level

intermediate

### Location

src/ksp/pc/impls/deflation/deflation.c

### 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