TSTrajectoryDestroy — PETSc 3.24.5 documentation

Skip to main content
`Ctrl`+`K`

# TSTrajectoryDestroy

Destroys a trajectory context

## Synopsis

    #include "petscts.h"
    PetscErrorCode TSTrajectoryDestroy(TSTrajectory *tj)

Collective

## Input Parameter

- tj - the `TSTrajectory` context obtained from `TSTrajectoryCreate()`

## See Also

TS: Scalable ODE and DAE Solvers, `TSTrajectory`, `TSTrajectoryCreate()`, `TSTrajectorySetUp()`

## Level

developer

## Location

src/ts/trajectory/interface/traj.c

## Implementations

TSTrajectoryDestroy_Basic() in src/ts/trajectory/impls/basic/trajbasic.c
TSTrajectoryDestroy_Memory() in src/ts/trajectory/impls/memory/trajmemory.c
TSTrajectoryDestroy_Singlefile() in src/ts/trajectory/impls/singlefile/singlefile.c

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