#include "petsctao.h" PetscErrorCode TaoShellSetSolve(Tao tao, PetscErrorCode (*solve) (Tao))Logically Collective on Tao
tao | - the nonlinear solver context | |
solve | - the Section 1.5 Writing Application Codes with PETSc-provided solver routine |
PetscErrorCode solve (Tao tao)
tao | - the optimizer, get the Section 1.5 Writing Application Codes with PETSc context with TaoShellGetContext() |