TSSetApplicationContext#
Sets an optional user-defined context for the timesteppers.
Synopsis#
#include "petscts.h"
PetscErrorCode TSSetApplicationContext(TS ts, void *usrP)
Logically Collective
Input Parameters#
Fortran Notes#
You must write a Fortran interface definition for this
function that tells Fortran the Fortran derived data type that you are passing in as the ctx
argument.
See Also#
TS: Scalable ODE and DAE Solvers, TS
, TSGetApplicationContext()
Level#
intermediate
Location#
Examples#
src/ts/tutorials/ex30.c
src/ts/tutorials/ex48.c
src/ts/tutorials/ex42.c
src/ts/utils/dmplexlandau/tutorials/ex1.c
src/ts/tutorials/ex77.c
src/ts/utils/dmplexlandau/tutorials/ex2.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages