I would create a sub-DM containing only the part you want to view.

Mike Michell <mi.mike1...@gmail.com> writes:

> Hi,
>
> I am a user of DMPlex object in 3D grid topology. Currently the solution
> field is printed out using viewer PETSCVIEWERVTK in .vtu format. By doing
> that the entire volume components are written in the file. I was wondering
> if there is an option that I can tell PETSc viewer to print out only
> surface component, instead of the entire volume.
>
> Best,
> Mike

Reply via email to