Lines Matching refs:snum

78     int          snum;  in DMPlexCreateFluent_ReadValues()  local
84 snum = sscanf(cbuf, "%x", &ibuf); in DMPlexCreateFluent_ReadValues()
85 … PetscCheck(snum == 1, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "File is not a valid Fluent file"); in DMPlexCreateFluent_ReadValues()
120 int snum; in DMPlexCreateFluent_ReadSection() local
126 snum = sscanf(buffer, "%d", &s->index); in DMPlexCreateFluent_ReadSection()
128 if (snum < 1) { in DMPlexCreateFluent_ReadSection()
138 snum = sscanf(buffer, "%d", &s->nd); in DMPlexCreateFluent_ReadSection()
139 PetscCheck(snum == 1, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "File is not a valid Fluent file"); in DMPlexCreateFluent_ReadSection()
145 snum = sscanf(buffer, "(%x %x %x %d %d)", &s->zoneID, &s->first, &s->last, &s->type, &s->nd); in DMPlexCreateFluent_ReadSection()
146 PetscCheck(snum == 5, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "File is not a valid Fluent file"); in DMPlexCreateFluent_ReadSection()
162 snum = sscanf(buffer, "(%x", &s->zoneID); in DMPlexCreateFluent_ReadSection()
163 PetscCheck(snum == 1, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "File is not a valid Fluent file"); in DMPlexCreateFluent_ReadSection()
165 snum = sscanf(buffer, "(%x %x %x %d)", &s->zoneID, &s->first, &s->last, &s->nd); in DMPlexCreateFluent_ReadSection()
166 … PetscCheck(snum == 4, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "File is not a valid Fluent file"); in DMPlexCreateFluent_ReadSection()
168 snum = sscanf(buffer, "(%x %x %x %d %d)", &s->zoneID, &s->first, &s->last, &s->type, &s->nd); in DMPlexCreateFluent_ReadSection()
169 … PetscCheck(snum == 5, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "File is not a valid Fluent file"); in DMPlexCreateFluent_ReadSection()
187 snum = sscanf(buffer, "(%x", &s->zoneID); in DMPlexCreateFluent_ReadSection()
188 PetscCheck(snum == 1, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "File is not a valid Fluent file"); in DMPlexCreateFluent_ReadSection()
190 snum = sscanf(buffer, "(%x %x %x %d)", &s->zoneID, &s->first, &s->last, &s->nd); in DMPlexCreateFluent_ReadSection()
191 … PetscCheck(snum == 4, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "File is not a valid Fluent file"); in DMPlexCreateFluent_ReadSection()
195 snum = sscanf(buffer, "(%x %x %x %d %d)", &s->zoneID, &s->first, &s->last, &s->type, &s->nd); in DMPlexCreateFluent_ReadSection()
196 … PetscCheck(snum == 5, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "File is not a valid Fluent file"); in DMPlexCreateFluent_ReadSection()
257 snum = sscanf(buffer, "(%u %s %s %d)", &s->zoneID, caseName, labelName, &s->nd); in DMPlexCreateFluent_ReadSection()
258 …PetscCheck(snum == 4, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "File is not a valid Fluent file: %d",… in DMPlexCreateFluent_ReadSection()