#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) |
Level:advanced
Location:src/sys/utils/str.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages