"Fossies" - the Fresh Open Source Software Archive

Member "petsc-3.12.4/docs/manualpages/TS/TSEvaluateWLTE.html" (4 Feb 2020, 3807 Bytes) of package /linux/misc/petsc-3.12.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
    2 <HTML>
    3 <HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSEvaluateWLTE.html" />
    4 <META NAME="GENERATOR" CONTENT="DOCTEXT">
    5 <TITLE>TSEvaluateWLTE</TITLE>
    6 </HEAD>
    7 <BODY BGCOLOR="FFFFFF">
    8    <div id="version" align=right><b>petsc-3.12.4 2020-02-04</b></div>
    9    <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.12.4 v3.12.4 docs/manualpages/TS/TSEvaluateWLTE.html "><small>Report Typos and Errors</small></a></div>
   10 <A NAME="TSEvaluateWLTE"><H1>TSEvaluateWLTE</H1></A>
   11 Evaluate the weighted local truncation error norm at the end of a time step with a given order of accuracy. 
   12 <H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
   13 <PRE>
   14 #include "petscts.h"  
   15 <A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../TS/TSEvaluateWLTE.html#TSEvaluateWLTE">TSEvaluateWLTE</A>(<A HREF="../TS/TS.html#TS">TS</A> ts,<A HREF="../Vec/NormType.html#NormType">NormType</A> wnormtype,<A HREF="../Sys/PetscInt.html#PetscInt">PetscInt</A> *order,<A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> *wlte)
   16 </PRE>
   17 Collective on <A HREF="../TS/TS.html#TS">TS</A>
   18 <P>
   19 <H3><FONT COLOR="#CC3333">Input Arguments</FONT></H3>
   20 <TABLE border="0" cellpadding="0" cellspacing="0">
   21 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>ts </B></TD><TD>- time stepping context
   22 </TD></TR>
   23 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>wnormtype </B></TD><TD>- norm type, either <A HREF="../Vec/NORM_2.html#NORM_2">NORM_2</A> or <A HREF="../Vec/NORM_INFINITY.html#NORM_INFINITY">NORM_INFINITY</A>
   24 </TD></TR>
   25 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>order </B></TD><TD>- optional, desired order for the error evaluation or <A HREF="../Sys/PETSC_DECIDE.html#PETSC_DECIDE">PETSC_DECIDE</A>
   26 </TD></TR></TABLE>
   27 <P>
   28 <H3><FONT COLOR="#CC3333">Output Arguments</FONT></H3>
   29 <TABLE border="0" cellpadding="0" cellspacing="0">
   30 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>order </B></TD><TD>- optional, the actual order of the error evaluation
   31 </TD></TR>
   32 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>wlte </B></TD><TD>- the weighted local truncation error norm
   33 </TD></TR></TABLE>
   34 <P>
   35 
   36 <P>
   37 <H3><FONT COLOR="#CC3333">Notes</FONT></H3>
   38 If the timestepper cannot evaluate the error in a particular step
   39 (eg. in the first step or restart steps after event handling),
   40 this routine returns wlte=-1.0 .
   41 <P>
   42 <H3><FONT COLOR="#CC3333">See Also</FONT></H3>
   43  <A HREF="../TS/TSStep.html#TSStep">TSStep</A>(), <A HREF="../TS/TSAdapt.html#TSAdapt">TSAdapt</A>, <A HREF="../TS/TSErrorWeightedNorm.html#TSErrorWeightedNorm">TSErrorWeightedNorm</A>()
   44 <BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>advanced<BR>
   45 <H3><FONT COLOR="#CC3333">Location</FONT></H3>
   46 </B><A HREF="../../../src/ts/interface/ts.c.html#TSEvaluateWLTE">src/ts/interface/ts.c</A>
   47 <P><H3><FONT COLOR="CC3333">Implementations</FONT></H3><A HREF="../../../src/ts/impls/bdf/bdf.c.html#TSEvaluateWLTE_BDF">TSEvaluateWLTE_BDF in src/ts/impls/bdf/bdf.c</A><BR>
   48 <A HREF="../../../src/ts/impls/implicit/alpha/alpha1.c.html#TSEvaluateWLTE_Alpha">TSEvaluateWLTE_Alpha in src/ts/impls/implicit/alpha/alpha1.c</A><BR>
   49 <A HREF="../../../src/ts/impls/implicit/alpha/alpha2.c.html#TSEvaluateWLTE_Alpha">TSEvaluateWLTE_Alpha in src/ts/impls/implicit/alpha/alpha2.c</A><BR>
   50 <A HREF="../../../src/ts/impls/implicit/theta/theta.c.html#TSEvaluateWLTE_Theta">TSEvaluateWLTE_Theta in src/ts/impls/implicit/theta/theta.c</A><BR>
   51 <BR><A HREF="./index.html">Index of all TS routines</A>
   52 <BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
   53 <BR><A HREF="../singleindex.html">Index of all manual pages</A>
   54 </BODY></HTML>