petsc-3.6.2 2015-10-02
Report Typos and Errors

# KSPFCGSetTruncationType

specify how many of its stored previous directions FCG uses during orthoganalization

### Synopsis

    #include "petscksp.h"
    PetscErrorCode KSPFCGSetTruncationType(KSP ksp,KSPFCGTruncationType truncstrat)

Logically Collective on KSP

KSP_FCG_TRUNC_TYPE_STANDARD uses all (up to mmax) stored directions KSP_FCG_TRUNC_TYPE_NOTAY uses the last max(1,mod(i,mmax)) stored directions at iteration i=0,1..

### Input Parameters

| ksp | - the Krylov space context
| truncstrat | - the choice of strategy

### Options Database

-ksp_fcg_truncation_type <standard, notay> - .seealso: KSPFCGTruncationType, KSPFCGGetTruncationType

Level:intermediate
Location: src/ksp/ksp/impls/fcg/fcg.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages