#include "petscdraw.h" #include "petscviewer.h" PetscErrorCode PetscDrawView(PetscDraw indraw,PetscViewer viewer)Collective on PetscDraw
indraw | - the PetscDraw context | |
viewer | - visualization context |
See PetscDrawSetFromOptions() for options database keys
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. |
The user can open an alternative visualization context with PetscViewerASCIIOpen() - output to a specified file.