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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Viewer/PetscViewerFileSetName.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PetscViewerFileSetName</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/Viewer/PetscViewerFileSetName.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PetscViewerFileSetName"><H1>PetscViewerFileSetName</H1></A>
Sets the name of the file the <A HREF="../Viewer/PetscViewer.html#PetscViewer">PetscViewer</A> uses.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscviewer.h"
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../Viewer/PetscViewerFileSetName.html#PetscViewerFileSetName">PetscViewerFileSetName</A>(<A HREF="../Viewer/PetscViewer.html#PetscViewer">PetscViewer</A> viewer,const char name[])
</PRE>
Collective on <A HREF="../Viewer/PetscViewer.html#PetscViewer">PetscViewer</A>
<P>
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>viewer </B></TD><TD>- the <A HREF="../Viewer/PetscViewer.html#PetscViewer">PetscViewer</A>; either ASCII or binary
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>name </B></TD><TD>- the name of the file it should use
</TD></TR></TABLE>
<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../Viewer/PetscViewerCreate.html#PetscViewerCreate">PetscViewerCreate</A>(), <A HREF="../Viewer/PetscViewerSetType.html#PetscViewerSetType">PetscViewerSetType</A>(), <A HREF="../Viewer/PetscViewerASCIIOpen.html#PetscViewerASCIIOpen">PetscViewerASCIIOpen</A>(), <A HREF="../Viewer/PetscViewerBinaryOpen.html#PetscViewerBinaryOpen">PetscViewerBinaryOpen</A>(), <A HREF="../Viewer/PetscViewerDestroy.html#PetscViewerDestroy">PetscViewerDestroy</A>(),
<BR><A HREF="../Viewer/PetscViewerASCIIGetPointer.html#PetscViewerASCIIGetPointer">PetscViewerASCIIGetPointer</A>(), <A HREF="../Viewer/PetscViewerASCIIPrintf.html#PetscViewerASCIIPrintf">PetscViewerASCIIPrintf</A>(), <A HREF="../Viewer/PetscViewerASCIISynchronizedPrintf.html#PetscViewerASCIISynchronizedPrintf">PetscViewerASCIISynchronizedPrintf</A>()
<P>
<P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>advanced<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/sys/classes/viewer/impls/ascii/filev.c.html#PetscViewerFileSetName">src/sys/classes/viewer/impls/ascii/filev.c</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/sys/classes/viewer/examples/tutorials/ex1.c.html">src/sys/classes/viewer/examples/tutorials/ex1.c.html</A><BR>
<A HREF="../../../src/dm/impls/plex/examples/tutorials/ex1.c.html">src/dm/impls/plex/examples/tutorials/ex1.c.html</A><BR>
<A HREF="../../../src/dm/impls/plex/examples/tutorials/ex1f90.F90.html">src/dm/impls/plex/examples/tutorials/ex1f90.F90.html</A><BR>
<A HREF="../../../src/dm/examples/tutorials/ex15.c.html">src/dm/examples/tutorials/ex15.c.html</A><BR>
<A HREF="../../../src/dm/examples/tutorials/ex20.c.html">src/dm/examples/tutorials/ex20.c.html</A><BR>
<A HREF="../../../src/ksp/ksp/examples/tutorials/ex43.c.html">src/ksp/ksp/examples/tutorials/ex43.c.html</A><BR>
<A HREF="../../../src/ksp/ksp/examples/tutorials/ex70.c.html">src/ksp/ksp/examples/tutorials/ex70.c.html</A><BR>
<A HREF="../../../src/snes/examples/tutorials/ex12.c.html">src/snes/examples/tutorials/ex12.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex11.c.html">src/ts/examples/tutorials/ex11.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex48.c.html">src/ts/examples/tutorials/ex48.c.html</A><BR>
<P><H3><FONT COLOR="CC3333">Implementations</FONT></H3><A HREF="../../../src/sys/classes/viewer/impls/adios/adios.c.html#PetscViewerFileSetName_ADIOS">PetscViewerFileSetName_ADIOS in src/sys/classes/viewer/impls/adios/adios.c</A><BR>
<A HREF="../../../src/sys/classes/viewer/impls/adios2/adios2.c.html#PetscViewerFileSetName_ADIOS2">PetscViewerFileSetName_ADIOS2 in src/sys/classes/viewer/impls/adios2/adios2.c</A><BR>
<A HREF="../../../src/sys/classes/viewer/impls/ascii/filev.c.html#PetscViewerFileSetName_ASCII">PetscViewerFileSetName_ASCII in src/sys/classes/viewer/impls/ascii/filev.c</A><BR>
<A HREF="../../../src/sys/classes/viewer/impls/binary/binv.c.html#PetscViewerFileSetName_Binary">PetscViewerFileSetName_Binary in src/sys/classes/viewer/impls/binary/binv.c</A><BR>
<A HREF="../../../src/sys/classes/viewer/impls/hdf5/hdf5v.c.html#PetscViewerFileSetName_HDF5">PetscViewerFileSetName_HDF5 in src/sys/classes/viewer/impls/hdf5/hdf5v.c</A><BR>
<A HREF="../../../src/sys/classes/viewer/impls/matlab/vmatlab.c.html#PetscViewerFileSetName_Matlab">PetscViewerFileSetName_Matlab in src/sys/classes/viewer/impls/matlab/vmatlab.c</A><BR>
<A HREF="../../../src/sys/classes/viewer/impls/vtk/vtkv.c.html#PetscViewerFileSetName_VTK">PetscViewerFileSetName_VTK in src/sys/classes/viewer/impls/vtk/vtkv.c</A><BR>
<A HREF="../../../src/sys/classes/viewer/impls/vu/petscvu.c.html#PetscViewerFileSetName_VU">PetscViewerFileSetName_VU in src/sys/classes/viewer/impls/vu/petscvu.c</A><BR>
<BR><A HREF="./index.html">Index of all Viewer 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>
|