# DAAppSetInitialSolution

Sets the initial solution for the grid application.

## Synopsis

    #include "taodaapplication.h"
    int DAAppSetInitialSolution(TAO_APPLICATION daapplication, Vec X0)

Collective on TAO_APPLICATION

## Input Parameters

| daapplication | - the DA Application object
| X0 | - the initial solution vector

## See Also

DAAppGetSolution();

## Keywords

Initial Solution, DA

Level:beginner
Location:src/petsctao/gridapplication/interface/daapp.c
TAO DA Application Index
Table of Contents

### Examples

src/petsctao/gridapplication/examples/eptorsion3.c.html

### Examples

src/petsctao/gridapplication/examples/jbearing3.c.html

### Examples

src/petsctao/gridapplication/examples/combustion3.c.html