1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSSetUp.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>TSSetUp</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.10.3 2018-12-18</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.10.3 v3.10.3 docs/manualpages/TS/TSSetUp.html "><small>Report Typos and Errors</small></a></div>
<A NAME="TSSetUp"><H1>TSSetUp</H1></A>
Sets up the internal data structures for the later use of a timestepper.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscts.h"
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../TS/TSSetUp.html#TSSetUp">TSSetUp</A>(<A HREF="../TS/TS.html#TS">TS</A> ts)
</PRE>
Collective on <A HREF="../TS/TS.html#TS">TS</A>
<P>
<H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
<DT><B>ts </B> -the <A HREF="../TS/TS.html#TS">TS</A> context obtained from <A HREF="../TS/TSCreate.html#TSCreate">TSCreate</A>()
<br>
<P>
<H3><FONT COLOR="#CC3333">Notes</FONT></H3>
For basic use of the <A HREF="../TS/TS.html#TS">TS</A> solvers the user need not explicitly call
<A HREF="../TS/TSSetUp.html#TSSetUp">TSSetUp</A>(), since these actions will automatically occur during
the call to <A HREF="../TS/TSStep.html#TSStep">TSStep</A>() or <A HREF="../TS/TSSolve.html#TSSolve">TSSolve</A>(). However, if one wishes to control this
phase separately, <A HREF="../TS/TSSetUp.html#TSSetUp">TSSetUp</A>() should be called after <A HREF="../TS/TSCreate.html#TSCreate">TSCreate</A>()
and optional routines of the form TSSetXXX(), but before <A HREF="../TS/TSStep.html#TSStep">TSStep</A>() and <A HREF="../TS/TSSolve.html#TSSolve">TSSolve</A>().
<P>
<P>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
<A HREF="../TS/TS.html#TS">TS</A>, timestep, setup
<BR>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../TS/TSCreate.html#TSCreate">TSCreate</A>(), <A HREF="../TS/TSStep.html#TSStep">TSStep</A>(), <A HREF="../TS/TSDestroy.html#TSDestroy">TSDestroy</A>(), <A HREF="../TS/TSSolve.html#TSSolve">TSSolve</A>()
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>advanced<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/ts/interface/ts.c.html#TSSetUp">src/ts/interface/ts.c</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/ts/examples/tutorials/ex1.c.html">src/ts/examples/tutorials/ex1.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex17.c.html">src/ts/examples/tutorials/ex17.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex28.c.html">src/ts/examples/tutorials/ex28.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex42.c.html">src/ts/examples/tutorials/ex42.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex1f.F.html">src/ts/examples/tutorials/ex1f.F.html</A><BR>
<P><H3><FONT COLOR="CC3333">Implementations</FONT></H3><A HREF="../../../src/ts/impls/arkimex/arkimex.c.html#TSSetUp_ARKIMEX">TSSetUp_ARKIMEX in src/ts/impls/arkimex/arkimex.c</A><BR>
<A HREF="../../../src/ts/impls/bdf/bdf.c.html#TSSetUp_BDF">TSSetUp_BDF in src/ts/impls/bdf/bdf.c</A><BR>
<A HREF="../../../src/ts/impls/eimex/eimex.c.html#TSSetUp_EIMEX">TSSetUp_EIMEX in src/ts/impls/eimex/eimex.c</A><BR>
<A HREF="../../../src/ts/impls/explicit/euler/euler.c.html#TSSetUp_Euler">TSSetUp_Euler in src/ts/impls/explicit/euler/euler.c</A><BR>
<A HREF="../../../src/ts/impls/explicit/rk/rk.c.html#TSSetUp_RK">TSSetUp_RK in src/ts/impls/explicit/rk/rk.c</A><BR>
<A HREF="../../../src/ts/impls/explicit/ssp/ssp.c.html#TSSetUp_SSP">TSSetUp_SSP in src/ts/impls/explicit/ssp/ssp.c</A><BR>
<A HREF="../../../src/ts/impls/glee/glee.c.html#TSSetUp_GLEE">TSSetUp_GLEE in src/ts/impls/glee/glee.c</A><BR>
<A HREF="../../../src/ts/impls/implicit/alpha/alpha1.c.html#TSSetUp_Alpha">TSSetUp_Alpha in src/ts/impls/implicit/alpha/alpha1.c</A><BR>
<A HREF="../../../src/ts/impls/implicit/alpha/alpha2.c.html#TSSetUp_Alpha">TSSetUp_Alpha in src/ts/impls/implicit/alpha/alpha2.c</A><BR>
<A HREF="../../../src/ts/impls/implicit/glle/glle.c.html#TSSetUp_GLLE">TSSetUp_GLLE in src/ts/impls/implicit/glle/glle.c</A><BR>
<A HREF="../../../src/ts/impls/implicit/sundials/sundials.c.html#TSSetUp_Sundials">TSSetUp_Sundials in src/ts/impls/implicit/sundials/sundials.c</A><BR>
<A HREF="../../../src/ts/impls/implicit/theta/theta.c.html#TSSetUp_Theta">TSSetUp_Theta in src/ts/impls/implicit/theta/theta.c</A><BR>
<A HREF="../../../src/ts/impls/implicit/theta/theta.c.html#TSSetUp_BEuler">TSSetUp_BEuler in src/ts/impls/implicit/theta/theta.c</A><BR>
<A HREF="../../../src/ts/impls/implicit/theta/theta.c.html#TSSetUp_CN">TSSetUp_CN in src/ts/impls/implicit/theta/theta.c</A><BR>
<A HREF="../../../src/ts/impls/mimex/mimex.c.html#TSSetUp_Mimex">TSSetUp_Mimex in src/ts/impls/mimex/mimex.c</A><BR>
<A HREF="../../../src/ts/impls/pseudo/posindep.c.html#TSSetUp_Pseudo">TSSetUp_Pseudo in src/ts/impls/pseudo/posindep.c</A><BR>
<A HREF="../../../src/ts/impls/rosw/rosw.c.html#TSSetUp_RosW">TSSetUp_RosW in src/ts/impls/rosw/rosw.c</A><BR>
<A HREF="../../../src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c.html#TSSetUp_BasicSymplectic">TSSetUp_BasicSymplectic in src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c</A><BR>
<BR><A HREF="./index.html">Index of all TS routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|