PetscBagView#
Views a bag of values as either ASCII text or a binary file
Synopsis#
#include "petscbag.h"
PetscErrorCode PetscBagView(PetscBag bag, PetscViewer view)
Collective
Input Parameters#
bag - the bag of values
view - location to view the values
Note#
Currently PETSc bags saved in a binary file can only be read back in on a machine with the same binary format.
See Also#
PetscBag
, PetscBagSetName()
, PetscBagDestroy()
, PetscBagLoad()
, PetscBagGetData()
PetscBagRegisterReal()
, PetscBagRegisterInt()
, PetscBagRegisterBool()
, PetscBagRegisterScalar()
, PetscBagRegisterEnum()
PetscBagSetFromOptions()
, PetscBagCreate()
, PetscBagGetName()
Level#
beginner
Location#
Examples#
src/dm/tutorials/ex7.c
src/sys/tutorials/ex5.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex62.c
src/ts/tutorials/ex53.c
src/sys/tutorials/ex5f90.F90
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages