Searched refs:cbuf (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexfluent.c | 76 char cbuf[256]; in DMPlexCreateFluent_ReadValues() local 83 PetscCall(PetscViewerRead(viewer, cbuf, 1, NULL, PETSC_STRING)); in DMPlexCreateFluent_ReadValues() 84 snum = sscanf(cbuf, "%x", &ibuf); in DMPlexCreateFluent_ReadValues() 88 PetscCall(PetscStrlen(cbuf, &len)); in DMPlexCreateFluent_ReadValues() 89 while (cbuf[len - 1] == ')' && len > 0) { in DMPlexCreateFluent_ReadValues()
|
| H A D | plexgmsh.c | 732 …char *cbuf = NULL; /* dummy value to prevent warning from compiler about possible uninitializ… in GmshReadNodes_v40() local 735 PetscCall(GmshBufferGet(gmsh, numNodes, nbytes, &cbuf)); in GmshReadNodes_v40() 737 PetscCall(PetscViewerRead(viewer, cbuf, icnt, NULL, PETSC_CHAR)); in GmshReadNodes_v40() 739 char *cnid = cbuf + node * nbytes, *cxyz = cnid + sizeof(int); in GmshReadNodes_v40()
|