The PETSc paradigm for this is
DMView(dm, viewer); /* save mesh info
VecView(vec,viewer);
Which has basic variants
DMView(dm, viewer); /* save mesh info
VecView(vec,viewer);
VecView(vec,viewer);
...
and
VecView(vec,viewer);
...
Use
Indeed. Far too many possibilities, with Matlab alone there is
* binary view
* matlab binary viewer
* ascii viewer
* matlab engine
* socket viewer to matlab
> On Jul 25, 2019, at 1:32 AM, Patrick Sanan via petsc-dev
> wrote:
>
> This came up in the beginner's working g
Dave May via petsc-dev writes:
> I'd describe how to use the binary dump and how to generate vtk files.
>
> The first is the most universal as it's completely generic and does not
> depend on a dm, thus users with their own mesh data structure and or don't
> have a mesh at all can use it. Would b
X11 plotting is unreliable (requires installing something non-obvious)
on anything but Linux. I use it in live demos, but it's so limited I
wouldn't recommend it to users. VTK is more discoverable/explorable for
users; install a binary and make all the plots they want.
Patrick Sanan via petsc-de