PetscErrorCode PetscFormatConvert(const char *format,char *newformat,size_t size)
format | - the PETSc format string | |
newformat | - the location to put the standard C format string values | |
size | - the length of newformat |
Note: this exists so we can have the same code when PetscInt is either int or long long and PetscScalar is either __float128, double, or float