PetscObjectViewSynchronizedFromOptions#

Processes command line options to determine if/how a serial PetscObject is to be collectively viewed.

Synopsis#

#include "petscsys.h"    
PetscErrorCode PetscObjectViewSynchronizedFromOptions(PetscObject obj, PetscObject sobj, const char name[])

Collective

Input Parameters#

  • obj - the serial object

  • sobj - synchronization object that provides the synchronizing communicator

  • name - option string that is used to activate viewing. It typically ends with _view.

Options Database Key#

Notes#

The objects will be viewed in sequence, following the MPI rank order.

The prefix of obj is used to search the options database key

See Also#

PetscObject, PetscObjectViewFromOptions(), PetscObjectView(), PetscOptionsCreateViewer()

Level#

developer

Location#

src/sys/objects/destroy.c


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