#include "petscsys.h" PetscErrorCode PetscViewerSetFormat(PetscViewer viewer,PetscViewerFormat format)Logically Collective on PetscViewer Many br
This routine is deprecated, you should use PetscViewerPushFormat()/PetscViewerPopFormat() Many br
viewer | - the PetscViewer Many br | |
format | - the format Many br |
Many br
PETSC_VIEWER_DEFAULT | - default format Many br | |
PETSC_VIEWER_ASCII_MATLAB | - MATLAB format Many br | |
PETSC_VIEWER_ASCII_DENSE | - print matrix as dense Many br | |
PETSC_VIEWER_ASCII_IMPL | - implementation-specific format Many br(which is in many cases the same as the default) Many br | |
PETSC_VIEWER_ASCII_INFO | - basic information about object Many br | |
PETSC_VIEWER_ASCII_INFO_DETAIL | - more detailed info Many brabout object Many br | |
PETSC_VIEWER_ASCII_COMMON | - identical output format for Many brall objects of a particular type Many br | |
PETSC_VIEWER_ASCII_INDEX | - (for vectors) prints the vector Many brelement number next to each vector entry Many br | |
PETSC_VIEWER_ASCII_SYMMODU | - print parallel vectors without Many brindicating the processor ranges Many br | |
PETSC_VIEWER_ASCII_VTK | - outputs the object to a VTK file Many br | |
PETSC_VIEWER_NATIVE | - store the object to the binary Many brfile in its native format (for example, dense Many brmatrices are stored as dense), DMDA vectors are dumped directly to the Many brfile instead of being first put in the natural ordering Many br | |
PETSC_VIEWER_DRAW_BASIC | - views the vector with a simple 1d plot Many br | |
PETSC_VIEWER_DRAW_LG | - views the vector with a line graph Many br | |
PETSC_VIEWER_DRAW_CONTOUR | - views the vector with a contour plot Many br |
These formats are most often used for viewing matrices and vectors. Many br
If a format (for example PETSC_VIEWER_DRAW_CONTOUR) was applied to a viewer Many brwhere it didn't apply (PETSC_VIEWER_STDOUT_WORLD) it cause the default behavior Many brfor that viewer to be used. Many br
Note: This supports passing in a NULL for the viewer for use in the debugger, but it should never be called in the code with a NULL viewer Many br
Level:intermediate
Location:src/sys/classes/viewer/interface/viewa.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages