<div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, 24 Jul 2019 at 23:33, Patrick Sanan via petsc-dev <<a href="mailto:petsc-dev@mcs.anl.gov">petsc-dev@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This came up in the beginner's working group meeting. We all seemed to agree that a very powerful thing for beginners is to be able to run a set of well-defined instructions to go from 0 to being able to solve and visualize a simple problem (I'm imagining a PDE on a 2D spatial domain).<div><br></div><div>PETSc itself isn't a visualization library, obviously, so there are many ways to visualize data but most involve some external tools. We'd be interested in opinions on what we should recommend to beginners, for example one or more of:</div></div></blockquote><div dir="auto"><br></div><div dir="auto">Why only one?</div><div dir="auto"><br></div><div dir="auto">I'd describe how to use the binary dump and how to generate vtk files.</div><div dir="auto"><br></div><div dir="auto">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 be worth while also providing a minimal python+mathplotlib script which loads the data and spits out a PDF so folks don't have to depend on matlab.</div><div dir="auto"><br></div><div dir="auto">Vtk is fine but its not super easy to if you want to do some custom quantitative analysis (rather than just look at the solution visually)</div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>- Dump binary, load into MATLAB/Octave/Python+numpy+matplotlib</div><div>- Dump something which Paraview and/or VisIt can open</div><div>- Use PETSc's native drawing (X window) capabilities </div><div>- Include custom script for the tutorials, say which requires libpng and produces an image</div><div>- ASCII art</div><div><br></div></div>
</blockquote></div></div>