[petsc-users] vtk output ASCII or binary

Xiangdong epscodes at gmail.com
Tue Mar 4 12:31:44 CST 2014


What is the difference between PetscViewerSetType and PetscViewerSetFormat?
It seems that the first one take argument like PETSCVIEWERVTK, while the
second one takes PETSC_VIEWER_VTK_VTS.

By the way, how can I find a full list of formats? Clearly,
PETSC_VIEWER_VTK_VTS is not listed in online documentation for
PetscViewerSetFormat
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Viewer/PetscViewerSetFormat.html

Thank you.

Xiangdong


On Tue, Mar 4, 2014 at 1:02 PM, Matthew Knepley <knepley at gmail.com> wrote:

> On Tue, Mar 4, 2014 at 11:44 AM, Xiangdong <epscodes at gmail.com> wrote:
>
>> Hello everyone,
>>
>> When I use PetsViewerVTKOpen to output vec in vtk format, is it in ASCII
>> format or binary format? Are there any options to choose between them?
>>
>
> It is determined by the format, e.g. PETSC_VIEWER_VTK_VTU.
>
>    Matt
>
>
>> Thank you.
>>
>> Xiangdong
>>
>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> -- Norbert Wiener
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140304/deabdd08/attachment.html>


More information about the petsc-users mailing list