"Fossies" - the Fresh Open Source Software Archive

Member "petsc-3.12.4/docs/manualpages/Viewer/PetscViewerASCIIPrintf.html" (4 Feb 2020, 5031 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/Viewer/PetscViewerASCIIPrintf.html" />
    4 <META NAME="GENERATOR" CONTENT="DOCTEXT">
    5 <TITLE>PetscViewerASCIIPrintf</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/Viewer/PetscViewerASCIIPrintf.html "><small>Report Typos and Errors</small></a></div>
   10 <A NAME="PetscViewerASCIIPrintf"><H1>PetscViewerASCIIPrintf</H1></A>
   11 Prints to a file, only from the first processor in the <A HREF="../Viewer/PetscViewer.html#PetscViewer">PetscViewer</A> 
   12 <H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
   13 <PRE>
   14 #include "petscviewer.h" 
   15 <A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A>  <A HREF="../Viewer/PetscViewerASCIIPrintf.html#PetscViewerASCIIPrintf">PetscViewerASCIIPrintf</A>(<A HREF="../Viewer/PetscViewer.html#PetscViewer">PetscViewer</A> viewer,const char format[],...)
   16 </PRE>
   17 Not Collective, but only first processor in set has any effect
   18 <P>
   19 <H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
   20 <TABLE border="0" cellpadding="0" cellspacing="0">
   21 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>viewer </B></TD><TD>- obtained with <A HREF="../Viewer/PetscViewerASCIIOpen.html#PetscViewerASCIIOpen">PetscViewerASCIIOpen</A>()
   22 </TD></TR>
   23 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>format </B></TD><TD>- the usual printf() format string
   24 </TD></TR></TABLE>
   25 <P>
   26 
   27 <P>
   28 <H3><FONT COLOR="#CC3333">Fortran Note</FONT></H3>
   29 The call sequence is <A HREF="../Viewer/PetscViewerASCIIPrintf.html#PetscViewerASCIIPrintf">PetscViewerASCIIPrintf</A>(<A HREF="../Viewer/PetscViewer.html#PetscViewer">PetscViewer</A>, character(*), int ierr) from Fortran.
   30 That is, you can only pass a single character string from Fortran.
   31 <P>
   32 <H3><FONT COLOR="#CC3333">See Also</FONT></H3>
   33  <A HREF="../Sys/PetscPrintf.html#PetscPrintf">PetscPrintf</A>(), <A HREF="../Sys/PetscSynchronizedPrintf.html#PetscSynchronizedPrintf">PetscSynchronizedPrintf</A>(), <A HREF="../Viewer/PetscViewerASCIIOpen.html#PetscViewerASCIIOpen">PetscViewerASCIIOpen</A>(),
   34 <BR><A HREF="../Viewer/PetscViewerASCIIPushTab.html#PetscViewerASCIIPushTab">PetscViewerASCIIPushTab</A>(), <A HREF="../Viewer/PetscViewerASCIIPopTab.html#PetscViewerASCIIPopTab">PetscViewerASCIIPopTab</A>(), <A HREF="../Viewer/PetscViewerASCIISynchronizedPrintf.html#PetscViewerASCIISynchronizedPrintf">PetscViewerASCIISynchronizedPrintf</A>(),
   35 <A HREF="../Viewer/PetscViewerCreate.html#PetscViewerCreate">PetscViewerCreate</A>(), <A HREF="../Viewer/PetscViewerDestroy.html#PetscViewerDestroy">PetscViewerDestroy</A>(), <A HREF="../Viewer/PetscViewerSetType.html#PetscViewerSetType">PetscViewerSetType</A>(), <A HREF="../Viewer/PetscViewerASCIIGetPointer.html#PetscViewerASCIIGetPointer">PetscViewerASCIIGetPointer</A>(), <A HREF="../Viewer/PetscViewerASCIIPushSynchronized.html#PetscViewerASCIIPushSynchronized">PetscViewerASCIIPushSynchronized</A>()
   36 <P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>developer<BR>
   37 <H3><FONT COLOR="#CC3333">Location</FONT></H3>
   38 </B><A HREF="../../../src/sys/classes/viewer/impls/ascii/filev.c.html#PetscViewerASCIIPrintf">src/sys/classes/viewer/impls/ascii/filev.c</A>
   39 <P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
   40 <A HREF="../../../src/sys/classes/viewer/examples/tutorials/ex1.c.html">src/sys/classes/viewer/examples/tutorials/ex1.c.html</A><BR>
   41 <A HREF="../../../src/vec/vec/utils/tagger/examples/tutorials/ex1.c.html">src/vec/vec/utils/tagger/examples/tutorials/ex1.c.html</A><BR>
   42 <A HREF="../../../src/vec/is/sf/examples/tutorials/ex1.c.html">src/vec/is/sf/examples/tutorials/ex1.c.html</A><BR>
   43 <A HREF="../../../src/vec/is/sf/examples/tutorials/ex1f.F90.html">src/vec/is/sf/examples/tutorials/ex1f.F90.html</A><BR>
   44 <A HREF="../../../src/mat/examples/tutorials/ex10.c.html">src/mat/examples/tutorials/ex10.c.html</A><BR>
   45 <A HREF="../../../src/dm/label/examples/tutorials/ex1.c.html">src/dm/label/examples/tutorials/ex1.c.html</A><BR>
   46 <A HREF="../../../src/dm/label/examples/tutorials/ex1f90.F90.html">src/dm/label/examples/tutorials/ex1f90.F90.html</A><BR>
   47 <A HREF="../../../src/dm/field/examples/tutorials/ex1.c.html">src/dm/field/examples/tutorials/ex1.c.html</A><BR>
   48 <A HREF="../../../src/ksp/ksp/examples/tutorials/ex68.c.html">src/ksp/ksp/examples/tutorials/ex68.c.html</A><BR>
   49 <A HREF="../../../src/ksp/ksp/examples/tutorials/ex69.c.html">src/ksp/ksp/examples/tutorials/ex69.c.html</A><BR>
   50 <A HREF="../../../src/snes/examples/tutorials/ex15.c.html">src/snes/examples/tutorials/ex15.c.html</A><BR>
   51 <BR><A HREF="./index.html">Index of all Viewer 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>