#include "petscksp.h" PetscErrorCode KSPPIPEGCRSetTruncationType(KSP ksp,KSPFCDTruncationType truncstrat)Logically Collective on ksp
KSP_FCD_TRUNC_TYPE_STANDARD uses all (up to mmax) stored directions KSP_FCD_TRUNC_TYPE_NOTAY uses the last max(1,mod(i,mmax)) directions at iteration i=0,1,..
ksp | - the Krylov space context | |
truncstrat | - the choice of strategy |
-ksp_pipegcr_truncation_type <standard,notay> | - which stored basis vectors to orthogonalize against |