#include "petscmesh.h" PetscErrorCode MeshView(Mesh mesh, PetscViewer viewer)Collective on Mesh
mesh | - the mesh | |
viewer | - an optional visualization context |
PETSC_VIEWER_STDOUT_SELF | - standard output (default) | |
PETSC_VIEWER_STDOUT_WORLD | - synchronized standard output where only the first processor opens the file. All other processors send their data to the first processor to print. |
You can change the format the mesh is printed using the option PetscViewerSetFormat().
The user can open alternative visualization contexts with
PetscViewerASCIIOpen() | - Outputs mesh to a specified file | |
PetscViewerBinaryOpen() | - Outputs mesh in binary to a specified file; corresponding input uses MeshLoad() | |
PetscViewerDrawOpen() | - Outputs mesh to an X window display |
PETSC_VIEWER_ASCII_DEFAULT | - default, prints mesh information | |
PETSC_VIEWER_ASCII_VTK | - outputs a VTK file describing the mesh |
Level:beginner
Location:src/dm/mesh/mesh.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages