Skip to main content
Ctrl+K
PETSc v3.23.3-230-ga3f8f6a37e1fd documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • TSAdjointSetUp

TSAdjointSetUp#

Sets up the internal data structures for the later use of an adjoint solver

Synopsis#

#include <petscts.h>  
PetscErrorCode TSAdjointSetUp(TS ts)

Collective

Input Parameter#

  • ts - the TS context obtained from TSCreate()

See Also#

TS: Scalable ODE and DAE Solvers, TSCreate(), TSAdjointStep(), TSSetCostGradients()

Level#

advanced

Location#

src/ts/interface/sensitivity/tssen.c

Implementations#

TSAdjointSetUp_ARKIMEX() in src/ts/impls/arkimex/arkimex.c
TSAdjointSetUp_RK() in src/ts/impls/explicit/rk/rk.c
TSAdjointSetUp_Theta() in src/ts/impls/implicit/theta/theta.c


Index of all Sensitivity routines
Table of Contents for all manual pages
Index of all manual pages

On this page
  • Synopsis
  • Input Parameter
  • See Also
  • Level
  • Location
  • Implementations
Edit on GitLab
Show Source

© Copyright 1991-2025, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2025-06-15T03:45:16-0500 (v3.23.3-230-ga3f8f6a37e1fd).