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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMDAVTKWriteAll.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>DMDAVTKWriteAll</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>
<A NAME="DMDAVTKWriteAll"><H1>DMDAVTKWriteAll</H1></A>
Write a file containing all the fields that have been provided to the viewer
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
PetscErrorCode DMDAVTKWriteAll(PetscObject odm,PetscViewer viewer)
</PRE>
Collective
<P>
<H3><FONT COLOR="#CC3333">Input Arguments</FONT></H3>
odm - DM specifying the grid layout, passed as a <A HREF="../Sys/PetscObject.html#PetscObject">PetscObject</A>
viewer - viewer of type VTK
<P>
<P>
<H3><FONT COLOR="#CC3333">Note</FONT></H3>
This function is a callback used by the VTK viewer to actually write the file.
The reason for this odd model is that the VTK file format does not provide any way to write one field at a time.
Instead, metadata for the entire file needs to be available up-front before you can start writing the file.
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
PETSCVIEWERVTK
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>developer
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/dm/impls/da/grvtk.c.html#DMDAVTKWriteAll">src/dm/impls/da/grvtk.c</A>
<BR><A HREF="./index.html">Index of all DM 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>
|