TSSetUp#
Sets up the internal data structures for the later use of a timestepper.
Synopsis#
#include "petscts.h"
PetscErrorCode TSSetUp(TS ts)
Collective
Input Parameter#
Note#
For basic use of the TS
solvers the user need not explicitly call
TSSetUp()
, since these actions will automatically occur during
the call to TSStep()
or TSSolve()
. However, if one wishes to control this
phase separately, TSSetUp()
should be called after TSCreate()
and optional routines of the form TSSetXXX(), but before TSStep()
and TSSolve()
.
See Also#
TS: Scalable ODE and DAE Solvers, TSCreate()
, TS
, TSStep()
, TSDestroy()
, TSSolve()
Level#
advanced
Location#
Examples#
src/ts/tutorials/ex1.c
src/ts/tutorials/ex28.c
src/ts/tutorials/ex42.c
src/ts/tutorials/ex53.c
src/ts/tutorials/ex1f.F90
Implementations#
TSSetUp_ARKIMEX() in src/ts/impls/arkimex/arkimex.c
TSSetUp_BDF() in src/ts/impls/bdf/bdf.c
TSSetUp_EIMEX() in src/ts/impls/eimex/eimex.c
TSSetUp_Euler() in src/ts/impls/explicit/euler/euler.c
TSSetUp_RK() in src/ts/impls/explicit/rk/rk.c
TSSetUp_SSP() in src/ts/impls/explicit/ssp/ssp.c
TSSetUp_GLEE() in src/ts/impls/glee/glee.c
TSSetUp_Alpha() in src/ts/impls/implicit/alpha/alpha1.c
TSSetUp_Alpha() in src/ts/impls/implicit/alpha/alpha2.c
TSSetUp_DiscGrad() in src/ts/impls/implicit/discgrad/tsdiscgrad.c
TSSetUp_GLLE() in src/ts/impls/implicit/glle/glle.c
TSSetUp_IRK() in src/ts/impls/implicit/irk/irk.c
TSSetUp_Sundials() in src/ts/impls/implicit/sundials/sundials.c
TSSetUp_Theta() in src/ts/impls/implicit/theta/theta.c
TSSetUp_BEuler() in src/ts/impls/implicit/theta/theta.c
TSSetUp_CN() in src/ts/impls/implicit/theta/theta.c
TSSetUp_Mimex() in src/ts/impls/mimex/mimex.c
TSSetUp_MPRK() in src/ts/impls/multirate/mprk.c
TSSetUp_Pseudo() in src/ts/impls/pseudo/posindep.c
TSSetUp_RosW() in src/ts/impls/rosw/rosw.c
TSSetUp_BasicSymplectic() in src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages