Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexgmsh.c1118 int snum, fileType, fileFormat, dataSize, checkEndian; in GmshReadMeshFormat() local
1123 snum = sscanf(line, "%f %d %d", &version, &fileType, &dataSize); in GmshReadMeshFormat()
1129 …PetscCheck(!gmsh->binary || fileType, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Viewer is binary but… in GmshReadMeshFormat()
1130 …PetscCheck(gmsh->binary || !fileType, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Viewer is ASCII but … in GmshReadMeshFormat()
1492 int fileType; in DMPlexCreateGmshFromFile() local
1515 snum = sscanf(line, "%f %d", &version, &fileType); in DMPlexCreateGmshFromFile()
1523 PetscCallMPI(MPI_Bcast(&fileType, 1, MPI_INT, 0, comm)); in DMPlexCreateGmshFromFile()
1524 vtype = (fileType == 0) ? PETSCVIEWERASCII : PETSCVIEWERBINARY; in DMPlexCreateGmshFromFile()