tao-2.1-p0 2012-07-24

TaoSetDefaultKSPType

Sets the default KSP type if a KSP object is created.

Synopsis

#include "taosolver.h" 
PetscErrorCode TaoSetDefaultKSPType(TaoSolver tao, KSPType ktype)
Logically Collective on TaoSolver

InputParameters

tao - the TaoSolver context
ktype - the KSP type TAO will use by default

Note: Some solvers may require a particular KSP type and will not work correctly if the default value is changed

Options Database Key

tao_ksp_type -

Level:advanced
Location:src/interface/taosolver.c
TAO Solver Index
Table of Contents