Home
last modified time | relevance | path

Searched refs:newformat (Results 1 – 1 of 1) sorted by relevance

/petsc/src/sys/fileio/
H A Dmprint.c101 PetscErrorCode PetscFormatConvert(const char format[], char newformat[]) in PetscFormatConvert() argument
108 newformat[j++] = format[i++]; in PetscFormatConvert()
109 newformat[j++] = format[i++]; in PetscFormatConvert()
112 newformat[j++] = '['; in PetscFormatConvert()
113 newformat[j++] = '|'; in PetscFormatConvert()
116 for (; format[i] && format[i] <= '9'; i++) newformat[j++] = format[i]; in PetscFormatConvert()
120 newformat[j++] = 'd'; in PetscFormatConvert()
122 newformat[j++] = 'l'; in PetscFormatConvert()
123 newformat[j++] = 'l'; in PetscFormatConvert()
124 newformat[j++] = 'd'; in PetscFormatConvert()
[all …]