PetscBagViewFromOptions#
Processes command line options to determine if/how a PetscBag is to be viewed.
Synopsis#
#include "petscbag.h"
PetscErrorCode PetscBagViewFromOptions(PetscBag bag, PetscObject bobj, const char name[])
Collective
Input Parameters#
bag - the object
bobj - optional other object that provides prefix (if
NULLthen the prefix in obj is used)name - option to activate viewing
Options Database Key#
-name [viewertype][:…] - option name and values. See
PetscObjectViewFromOptions()for the possible arguments
See Also#
PetscBagCreate(), PetscBag, PetscViewer, PetscBagView(), PetscObjectViewFromOptions()
Level#
intermediate
Location#
Examples#
Index of all Bag routines
Table of Contents for all manual pages
Index of all manual pages