#include "taosolver.h" PetscErrorCode TaoSetType(TaoSolver tao, const TaoSolverType type)Collective on TaoSolver
solver | - the TaoSolver solver context | |
type | - a known method |
-tao_method <type> | - Sets the method; use -help for a list of available methods (for instance, "-tao_method tao_lmvm" or "-tao_method tao_tron") | |
-tao_type <type> | - identical to -tao_method |