KSPCreate

Creates the default KSP context.

Synopsis

#include "petscksp.h" 
int KSPCreate(MPI_Comm comm,KSP *inksp)
Collective on MPI_Comm

Input Parameter

comm -MPI communicator

Output Parameter

ksp -location to put the KSP context

Notes

The default KSP type is GMRES with a restart of 30, using modified Gram-Schmidt orthogonalization.

Keywords

KSP, create, context

See Also

KSPSetUp(), KSPSolve(), KSPDestroy(), KSP

Level:developer
Location:
src/sles/ksp/interface/itcreate.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages