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
|
<!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/TSInterpolate.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>TSInterpolate</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/TSInterpolate.html "><small>Report Typos and Errors</small></a></div>
<A NAME="TSInterpolate"><H1>TSInterpolate</H1></A>
Interpolate the solution computed during the previous step to an arbitrary location in the interval
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscts.h"
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../TS/TSInterpolate.html#TSInterpolate">TSInterpolate</A>(<A HREF="../TS/TS.html#TS">TS</A> ts,<A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> t,<A HREF="../Vec/Vec.html#Vec">Vec</A> U)
</PRE>
Collective on <A HREF="../TS/TS.html#TS">TS</A>
<P>
<H3><FONT COLOR="#CC3333">Input Argument</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>ts </B></TD><TD>- time stepping context
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>t </B></TD><TD>- time to interpolate to
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Output Argument</FONT></H3>
<DT><B>U </B> -state at given time
<br>
<P>
<P>
<H3><FONT COLOR="#CC3333">Developer Notes</FONT></H3>
<A HREF="../TS/TSInterpolate.html#TSInterpolate">TSInterpolate</A>() and the storing of previous steps/stages should be generalized to support delay differential equations and continuous adjoints.
<P>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
<A HREF="../TS/TS.html#TS">TS</A>, set
<BR>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../TS/TSSetExactFinalTime.html#TSSetExactFinalTime">TSSetExactFinalTime</A>(), <A HREF="../TS/TSSolve.html#TSSolve">TSSolve</A>()
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>intermediate<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/ts/interface/ts.c.html#TSInterpolate">src/ts/interface/ts.c</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/ts/examples/tutorials/ex16.c.html">src/ts/examples/tutorials/ex16.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex19.c.html">src/ts/examples/tutorials/ex19.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex20.c.html">src/ts/examples/tutorials/ex20.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex20adj.c.html">src/ts/examples/tutorials/ex20adj.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex20opt_p.c.html">src/ts/examples/tutorials/ex20opt_p.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex20opt_ic.c.html">src/ts/examples/tutorials/ex20opt_ic.c.html</A><BR>
<P><H3><FONT COLOR="CC3333">Implementations</FONT></H3><A HREF="../../../src/ts/impls/arkimex/arkimex.c.html#TSInterpolate_ARKIMEX">TSInterpolate_ARKIMEX in src/ts/impls/arkimex/arkimex.c</A><BR>
<A HREF="../../../src/ts/impls/bdf/bdf.c.html#TSInterpolate_BDF">TSInterpolate_BDF in src/ts/impls/bdf/bdf.c</A><BR>
<A HREF="../../../src/ts/impls/eimex/eimex.c.html#TSInterpolate_EIMEX">TSInterpolate_EIMEX in src/ts/impls/eimex/eimex.c</A><BR>
<A HREF="../../../src/ts/impls/explicit/euler/euler.c.html#TSInterpolate_Euler">TSInterpolate_Euler in src/ts/impls/explicit/euler/euler.c</A><BR>
<A HREF="../../../src/ts/impls/explicit/rk/rk.c.html#TSInterpolate_RK">TSInterpolate_RK in src/ts/impls/explicit/rk/rk.c</A><BR>
<A HREF="../../../src/ts/impls/glee/glee.c.html#TSInterpolate_GLEE">TSInterpolate_GLEE in src/ts/impls/glee/glee.c</A><BR>
<A HREF="../../../src/ts/impls/implicit/alpha/alpha1.c.html#TSInterpolate_Alpha">TSInterpolate_Alpha in src/ts/impls/implicit/alpha/alpha1.c</A><BR>
<A HREF="../../../src/ts/impls/implicit/alpha/alpha2.c.html#TSInterpolate_Alpha">TSInterpolate_Alpha in src/ts/impls/implicit/alpha/alpha2.c</A><BR>
<A HREF="../../../src/ts/impls/implicit/sundials/sundials.c.html#TSInterpolate_Sundials">TSInterpolate_Sundials in src/ts/impls/implicit/sundials/sundials.c</A><BR>
<A HREF="../../../src/ts/impls/implicit/theta/theta.c.html#TSInterpolate_Theta">TSInterpolate_Theta in src/ts/impls/implicit/theta/theta.c</A><BR>
<A HREF="../../../src/ts/impls/mimex/mimex.c.html#TSInterpolate_Mimex">TSInterpolate_Mimex in src/ts/impls/mimex/mimex.c</A><BR>
<A HREF="../../../src/ts/impls/rosw/rosw.c.html#TSInterpolate_RosW">TSInterpolate_RosW in src/ts/impls/rosw/rosw.c</A><BR>
<A HREF="../../../src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c.html#TSInterpolate_BasicSymplectic">TSInterpolate_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>
|