TSDiscGradGetX0AndXdot#
Gets the last solution and current time derivative held inside the TS
Synopsis#
#include "petscts.h"
PetscErrorCode TSDiscGradGetX0AndXdot(TS ts, DM dm, Vec *X0, Vec *Xdot)
Collective
Input Parameters#
Output Parameters#
X0 - The solution from the last timestep
Xdot - The current solution time derivative
See Also#
TS: Scalable ODE and DAE Solvers, TSDISCGRAD, TSDiscGradRestoreX0AndXdot()
Level#
advanced
Location#
src/ts/impls/implicit/discgrad/tsdiscgrad.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages