Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexply.c179 PetscInt vbuf[16], corners; in DMPlexCreatePLYFromFile() local
189 PetscCall(PetscViewerRead(viewer, &vbuf, ibuf[0], NULL, PETSC_INT)); in DMPlexCreatePLYFromFile()
190 if (byteSwap) PetscCall(PetscByteSwap(&vbuf, PETSC_INT, ibuf[0])); in DMPlexCreatePLYFromFile()
191 for (v = 0; v < ibuf[0]; ++v) vbuf[v] += Nc; in DMPlexCreatePLYFromFile()
192 PetscCall(DMPlexSetCone(*dm, c, vbuf)); in DMPlexCreatePLYFromFile()
H A Dplexcreate.c6747 int vbuf[8], v; in DMPlexCreateCellVertexFromFile() local
6761 snum = sscanf(line, format, &vbuf[0], &vbuf[1]); in DMPlexCreateCellVertexFromFile()
6764 snum = sscanf(line, format, &vbuf[0], &vbuf[1], &vbuf[2]); in DMPlexCreateCellVertexFromFile()
6767 snum = sscanf(line, format, &vbuf[0], &vbuf[1], &vbuf[2], &vbuf[3]); in DMPlexCreateCellVertexFromFile()
6770 snum = sscanf(line, format, &vbuf[0], &vbuf[1], &vbuf[2], &vbuf[3], &vbuf[4], &vbuf[5]); in DMPlexCreateCellVertexFromFile()
6773 …snum = sscanf(line, format, &vbuf[0], &vbuf[1], &vbuf[2], &vbuf[3], &vbuf[4], &vbuf[5], &vbuf[6], … in DMPlexCreateCellVertexFromFile()
6779 for (v = 0; v < Ncn; ++v) cone[v] = vbuf[v] + Nc; in DMPlexCreateCellVertexFromFile()