petsc-3.13.6 2020-09-29
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
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages