"Fossies" - the Fresh Open Source Software Archive

Member "petsc-3.12.4/docs/manualpages/TS/TSErrorWeightedNorm.html" (4 Feb 2020, 3715 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/TSErrorWeightedNorm.html" />
    4 <META NAME="GENERATOR" CONTENT="DOCTEXT">
    5 <TITLE>TSErrorWeightedNorm</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/TSErrorWeightedNorm.html "><small>Report Typos and Errors</small></a></div>
   10 <A NAME="TSErrorWeightedNorm"><H1>TSErrorWeightedNorm</H1></A>
   11 compute a weighted norm of the difference between two state vectors based on supplied absolute and relative tolerances 
   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/TSErrorWeightedNorm.html#TSErrorWeightedNorm">TSErrorWeightedNorm</A>(<A HREF="../TS/TS.html#TS">TS</A> ts,<A HREF="../Vec/Vec.html#Vec">Vec</A> U,<A HREF="../Vec/Vec.html#Vec">Vec</A> Y,<A HREF="../Vec/NormType.html#NormType">NormType</A> wnormtype,<A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> *norm,<A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> *norma,<A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> *normr)
   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>U </B></TD><TD>- state vector, usually ts-&gt;vec_sol
   24 </TD></TR>
   25 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>Y </B></TD><TD>- state vector to be compared to U
   26 </TD></TR>
   27 <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>
   28 </TD></TR></TABLE>
   29 <P>
   30 <H3><FONT COLOR="#CC3333">Output Arguments</FONT></H3>
   31 <TABLE border="0" cellpadding="0" cellspacing="0">
   32 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>norm  </B></TD><TD>- weighted norm, a value of 1.0 achieves a balance between absolute and relative tolerances
   33 </TD></TR>
   34 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>norma </B></TD><TD>- weighted norm, a value of 1.0 means that the error meets the absolute tolerance set by the user
   35 </TD></TR>
   36 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>normr </B></TD><TD>- weighted norm, a value of 1.0 means that the error meets the relative tolerance set by the user
   37 </TD></TR></TABLE>
   38 <P>
   39 <H3><FONT COLOR="#CC3333">Options Database Keys</FONT></H3>
   40 <DT><B>-ts_adapt_wnormtype &lt;wnormtype&gt; </B> -2, INFINITY
   41 <br>
   42 <P>
   43 
   44 <P>
   45 <H3><FONT COLOR="#CC3333">See Also</FONT></H3>
   46  <A HREF="../TS/TSErrorWeightedNormInfinity.html#TSErrorWeightedNormInfinity">TSErrorWeightedNormInfinity</A>(), <A HREF="../TS/TSErrorWeightedNorm2.html#TSErrorWeightedNorm2">TSErrorWeightedNorm2</A>(), <A HREF="../TS/TSErrorWeightedENorm.html#TSErrorWeightedENorm">TSErrorWeightedENorm</A>
   47 <BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>developer<BR>
   48 <H3><FONT COLOR="#CC3333">Location</FONT></H3>
   49 </B><A HREF="../../../src/ts/interface/ts.c.html#TSErrorWeightedNorm">src/ts/interface/ts.c</A>
   50 <BR><A HREF="./index.html">Index of all TS routines</A>
   51 <BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
   52 <BR><A HREF="../singleindex.html">Index of all manual pages</A>
   53 </BODY></HTML>