# TSGetAuxSolution
Returns an auxiliary solution at the present timestep, if available for the time integration method being used. 
## Synopsis
```
#include "petscts.h"  
PetscErrorCode TSGetAuxSolution(TS ts, Vec *v)
```
Not Collective, but v returned is parallel if ts is parallel


## Parameters 

- ***ts -*** the `TS` context obtained from `TSCreate()` (input parameter).
- ***v -*** the vector containing the auxiliary solution





## See Also
 [](chapter_ts), `TS`, `TSGetSolution()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/interface/ts.c.html#TSGetAuxSolution">src/ts/interface/ts.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/glee/glee.c.html#TSGetAuxSolution_GLEE">TSGetAuxSolution_GLEE in src/ts/impls/glee/glee.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/interface/ts.c)


[Index of all TS routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
