:orphan:
# CharacteristicSetUp
Sets up the internal data structures for the later use of an iterative solver.
## Synopsis
```
#include "petsccharacteristic.h"
PetscErrorCode CharacteristicSetUp(Characteristic c)
```
Collective
## Input Parameter
- ***ksp -*** iterative context obtained from CharacteristicCreate()
## See Also
[](ch_ts), `CharacteristicCreate()`, `CharacteristicSolve()`, `CharacteristicDestroy()`
## Level
developer
## Location
src/ts/characteristic/interface/characteristic.c
## Implementations
CharacteristicSetUp_DA in src/ts/characteristic/impls/da/slda.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/characteristic/interface/characteristic.c)
[Index of all Characteristic routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)