Home
last modified time | relevance | path

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

/petsc/src/binding/petsc4py/docs/ipynb/
H A Ddmplex.ipynb75 … the DMPlex has encoded (broken, prints to the terminal but not here, capture magic doesn't work)."
/petsc/src/dm/impls/plex/
H A Dplexcreate.c7063 int magic, dummy[5], len, version, shtype, totlen = 0; in DMPlexCreateShapefile() local
7066 PetscCall(PetscViewerBinaryRead(viewer, &magic, 1, &cnt, PETSC_INT32)); in DMPlexCreateShapefile()
7068 …PetscCheck(magic == 0x0000270a, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Unable to parse Shapefile f… in DMPlexCreateShapefile()