#include "petscsys.h" PetscErrorCode PetscDataTypeFromString(const char*name, PetscDataType *ptype,PetscBool *found)Not collective
name | - the PETSc datatype name (for example, DOUBLE or real or Scalar) |
ptype | - the enum value | |
found | - the string matches one of the data types |