Searched refs:PetscSNPrintfCount (Results 1 – 8 of 8) sorted by relevance
| /petsc/src/dm/dt/fe/impls/opencl/ |
| H A D | feopencl.c | 76 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, in PetscFEOpenCLGenerateIntegrationCode() 86 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, in PetscFEOpenCLGenerateIntegrationCode() 92 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, in PetscFEOpenCLGenerateIntegrationCode() 98 …for (d = 0; d < dim; ++d) PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail… in PetscFEOpenCLGenerateIntegrationCode() 100 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "};\n", &count)); in PetscFEOpenCLGenerateIntegrationCode() 101 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, in PetscFEOpenCLGenerateIntegrationCode() 106 …for (p = 0; p < N_q; ++p) PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail… in PetscFEOpenCLGenerateIntegrationCode() 107 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "};\n", &count)); in PetscFEOpenCLGenerateIntegrationCode() 110 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, in PetscFEOpenCLGenerateIntegrationCode() 117 …for (c = 0; c < N_c; ++c) PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail… in PetscFEOpenCLGenerateIntegrationCode() [all …]
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex22.c | 59 …PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, "Good inversion for cell %" PetscIn… in testIdentity() 62 …PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, "%+f", &count, (double)preimage[i *… in testIdentity() 65 PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, ",", &count)); in testIdentity() 69 PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, ") --> (", &count)); in testIdentity() 72 …PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, "%+f", &count, (double)mapped[i * d… in testIdentity() 75 PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, ",", &count)); in testIdentity() 79 PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, ") --> (", &count)); in testIdentity() 82 …PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, "%+f", &count, (double)inverted[i *… in testIdentity() 85 PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, ",", &count)); in testIdentity() 89 PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, ")", &count)); in testIdentity()
|
| /petsc/src/sys/objects/ |
| H A D | package.c | 34 PetscCall(PetscSNPrintfCount(pkgstr, sizeof(pkgstr), ":%s:", &cnt, pkg)); in PetscHasExternalPackage()
|
| /petsc/src/sys/tests/ |
| H A D | ex37.c | 31 PetscCall(PetscSNPrintfCount(buffer, sizeof(buffer), "Test %g %g\n", &sz, 3.33, 2.7)); in main()
|
| /petsc/src/sys/fileio/ |
| H A D | mprint.c | 408 PetscErrorCode PetscSNPrintfCount(char str[], size_t len, const char format[], size_t *countused, .… in PetscSNPrintfCount() function 756 PetscCall(PetscSNPrintfCount(p, left, fmt, &count, (double)x[i])); in PetscFormatRealArray()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex18.c | 968 …PetscCall(PetscSNPrintfCount(p, sizeof buffer - (p - buffer), "%12s [%12.6g,%12.6g] int %12.6g", &… in MonitorFunctionals()
|
| H A D | ex11.c | 1036 …PetscCall(PetscSNPrintfCount(p, sizeof buffer - (p - buffer), "%12s [%10.7g,%10.7g] int %10.7g", &… in MonitorVTK()
|
| /petsc/include/ |
| H A D | petscsys.h | 1758 PETSC_EXTERN PetscErrorCode PetscSNPrintfCount(char *, size_t, const char[], size_t *, ...) PETSC_A…
|