# PetscBagGetName

Gets the name of a bag of values Not Collective

### Synopsis

    PetscErrorCode PetscBagGetName(PetscBag *bag,char **name);

### Input Parameter

bag -the bag of values

### Output Parameter

name -the name assigned to the bag

### See Also

PetscBag, PetscBagSetName(), PetscBagView(), PetscBagLoad()
PetscBagRegisterReal(), PetscBagRegisterInt(), PetscBagRegisterTruth(), PetscBagRegisterScalar() PetscBagSetFromOptions(), PetscBagRegisterVec(), PetscBagCreate(), PetscBagDestroy(), PetscBagRegisterEnum()

Level:Intermediate
Location:include/petscbag.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages