PETSC_VIEWER_STDOUT_#

Creates a PETSCVIEWERASCII PetscViewer shared by all MPI processes in a communicator.

Synopsis#

#include "petscviewer.h"   
PetscViewer PETSC_VIEWER_STDOUT_(MPI_Comm comm)

Collective

Input Parameter#

Note#

Unlike almost all other PETSc routines, this does not return an error code. Usually used in the form

XXXView(XXX object, PETSC_VIEWER_STDOUT_(comm));

See Also#

Viewers: Looking at PETSc Objects, PETSC_VIEWER_DRAW_(), PetscViewerASCIIOpen(), PETSC_VIEWER_STDERR_, PETSC_VIEWER_STDOUT_WORLD, PETSC_VIEWER_STDOUT_SELF

Level#

beginner

Location#

src/sys/classes/viewer/impls/ascii/vcreatea.c

Examples#

src/dm/field/tutorials/ex1.c
src/ksp/ksp/tutorials/ex73.c


Edit on GitLab

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