KSPGMRESSetPreAllocateVectors

Causes GMRES to preallocate all its needed work vectors at initial setup rather than the default, which is to allocate them in chunks when needed.

Synopsis

#include "ksp.h"  
int KSPGMRESSetPreAllocateVectors(KSP ksp)
Collective on KSP

Input Parameter

ksp -iterative context obtained from KSPCreate

Options Database Key

-ksp_gmres_preallocate -Activates KSPGmresSetPreAllocateVectors()

Keywords

GMRES, preallocate, vectors

See Also

KSPGMRESSetRestart(), KSPGMRESSetOrthogonalization()

Level:intermediate
Location:src/sles/ksp/impls/gmres/gmpre.c
KSP Index
Table of Contents