petsc-3.6.4 2016-04-12
Report Typos and Errors


Prints synchronized output to the specified file from several processors. Output of the first processor is followed by that of the second, etc.


#include "petscviewer.h" 
PetscErrorCode  PetscViewerASCIISynchronizedPrintf(PetscViewer viewer,const char format[],...)
Not Collective, must call collective PetscViewerFlush() to get the results out

Input Parameters

viewer - the ASCII PetscViewer
format - the usual printf() format string

Notes: You must have previously called PetscViewerASCIISynchronizeAllow() to allow this routine to be called.

Fortran Note

Can only print a single character* string

See Also

PetscSynchronizedPrintf(), PetscSynchronizedFlush(), PetscFPrintf(),
PetscFOpen(), PetscViewerFlush(), PetscViewerASCIIGetPointer(), PetscViewerDestroy(), PetscViewerASCIIOpen(), PetscViewerASCIIPrintf(), PetscViewerASCIISynchronizedAllow()

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