petsc-3.9.4 2018-09-11
Report Typos and Errors

KSPSetWorkVecs

Sets a number of work vectors into a KSP object

Synopsis

#include "petscksp.h" 
PetscErrorCode KSPSetWorkVecs(KSP ksp,PetscInt nw)
Collective on KSP

Input Parameters

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

Level

developer

Location

src/ksp/ksp/interface/iterativ.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages