#include "tao_solver.h" int TaoSetOptionsPrefix(TAO_SOLVER tao, const char prefix[])
Collective on TAO_SOLVER
tao | - the TAO_SOLVER solver context | |
prefix | - the prefix string to prepend to all TAO option requests |
For example, to distinguish between the runtime options for two different TAO solvers, one could call
TaoSetOptionsPrefix(ksp1,"sys1_") TaoSetOptionsPrefix(ksp2,"sys2_")
This would enable use of different options for each system, such as
-sys1_tao_method blmvm -sys1_tao_gtol 1.e-3 -sys2_tao_method lmvm -sys2_tao_gtol 1.e-4
Level:advanced
Location:src/interface/tao.c
TAO Solver Index
Table of Contents