#include "petscdmmesh.h" PetscErrorCode SectionIntView(SectionInt section, PetscViewer viewer)Collective on Section
section | - the Section | |
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 section is printed using the option PetscViewerSetFormat().
The user can open alternative visualization contexts with
The user can call PetscViewerSetFormat() to specify the output format of ASCII printed objects (when using PETSC_VIEWER_STDOUT_SELF, PETSC_VIEWER_STDOUT_WORLD and PetscViewerASCIIOpen). Available formats include
PetscViewerASCIIOpen() | - Outputs section to a specified file | |
PetscViewerBinaryOpen() | - Outputs section in binary to a specified file; corresponding input uses SectionLoad() | |
PetscViewerDrawOpen() | - Outputs section to an X window display |
PETSC_VIEWER_DEFAULT | - default, prints section information | |
PETSC_VIEWER_ASCII_VTK | - outputs a VTK file describing the section |
Level:beginner
Location:src/dm/impls/mesh/section.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages