petsc-3.14.6 2021-03-30
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 on PetscBag
Input Parameter
| bag | - the bag of values
|
| viewer | - location to view the values
|
Warning: Currently PETSc bags saved in a binary file can only be read back
in on a machine of the same architecture. Let us know when this is a problem
and we'll fix it.
See Also
PetscBag, PetscBagSetName(), PetscBagDestroy(), PetscBagLoad(), PetscBagGetData()
PetscBagRegisterReal(), PetscBagRegisterInt(), PetscBagRegisterBool(), PetscBagRegisterScalar(), PetscBagRegisterEnum()
PetscBagSetFromOptions(), PetscBagCreate(), PetscBagGetName()
Level
beginner
Location
src/sys/classes/bag/bag.c
Examples
src/sys/tutorials/ex5.c.html
src/sys/tutorials/ex5f90.F90.html
src/dm/tutorials/ex7.c.html
src/snes/tutorials/ex62.c.html
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages