TaoAppGetSolutionVec

Get the vector with the solution in the current application.

Synopsis

#include "tao.h"  
int TaoAppGetSolutionVec(TAO_APPLICATION taoapp, Vec *X)

Input Parameters

taoapp -the application

Output Parameter

X -the solution vector

Note

This vector should not be destroyed.

Keywords

Application, variables

Level:intermediate
Location:src/petsctao/application/petscapp/tao_app.c
TAO Solver Index
Table of Contents

Examples

src/unconstrained/examples/tutorials/minsurf2.c.html