[petsc-users] VTK format

Matthew Knepley knepley at gmail.com
Tue Apr 26 08:12:37 CDT 2022


On Tue, Apr 26, 2022 at 8:52 AM Kirill Volyanskiy <vol.kirill at gmail.com>
wrote:

> Hello,
> There is no VTK format part in the code of the VecView
> (src/vec/vec/interface/vector.c) function. Therefore TSMonitorSolutionVTK
> doesn't work either.
>

Yes, VTK requires a mesh, so viewing a generic vector will not produce any
output. If you have a vector that comes from a DM, say a DMDA, then
it will use that mesh when writing the output.

  Thanks,

     Matt


> Best regards,
> Kirill
>


-- 
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

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220426/eb563512/attachment-0001.html>


More information about the petsc-users mailing list