petsc-3.3-p7 2013-05-11


Views a Section object.


#include "petscdmmesh.h"   
PetscErrorCode SectionRealView(SectionReal section, PetscViewer viewer)
Collective on Section

Input Parameters

section - the Section
viewer - an optional visualization context


The available visualization contexts include
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

See Also

VecView(), PetscViewerASCIIOpen(), PetscViewerDrawOpen(), PetscViewerBinaryOpen(), PetscViewerCreate()

Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages