#include "petscksp.h" PetscErrorCode KSPSetWorkVecs(KSP ksp,PetscInt nw)Collective on KSP
ksp | - iterative context | |
nw | - number of work vectors to allocate |
Developers Note: This is PETSC_EXTERN because it may be used by user written plugin KSP implementations