#include "petscsys.h" PetscErrorCode PetscEnumFind(const char *const *enumlist,const char *str,PetscEnum *value,PetscBool *found)Not Collective
| enumlist | - list of strings to search, followed by enum name, then enum prefix, then NUL | |
| str | - string to look for |
| value | - index of matching string (if found) | |
| found | - boolean indicating whether string was found (can be NULL) |