Skip to main content
`Ctrl`+`K`

# Bag

`PetscBag` is used to help manage user struct-like data structures in PETSc

## Beginner - Basic usage

PetscBag PetscBagDestroy PetscBagLoad PetscBagRegisterBool PetscBagRegisterBoolArray | PetscBagRegisterEnum PetscBagRegisterInt PetscBagRegisterInt64 PetscBagRegisterIntArray PetscBagRegisterReal | PetscBagRegisterRealArray PetscBagRegisterScalar PetscBagRegisterString PetscBagSetFromOptions PetscBagView

## Intermediate - Setting options for algorithms and data structures

PetscBagCreate PetscBagGetData PetscBagGetName | PetscBagGetNames PetscBagSetName | PetscBagSetOptionsPrefix PetscBagViewFromOptions

## No advanced routines

## No developer routines

## Single list of manual pages

PetscBag PetscBagCreate PetscBagDestroy PetscBagGetData PetscBagGetName PetscBagGetNames PetscBagLoad PetscBagRegisterBool | PetscBagRegisterBoolArray PetscBagRegisterEnum PetscBagRegisterInt PetscBagRegisterInt64 PetscBagRegisterIntArray PetscBagRegisterReal PetscBagRegisterRealArray | PetscBagRegisterScalar PetscBagRegisterString PetscBagSetFromOptions PetscBagSetName PetscBagSetOptionsPrefix PetscBagView PetscBagViewFromOptions