Searched refs:loc0_vtype (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/sys/classes/viewer/interface/ |
| H A D | viewreg.c | 169 char *loc0_vtype = NULL, *loc1_fname = NULL, *loc2_fmt = NULL, *loc3_fmode = NULL; in PetscOptionsCreateViewers_Single() local 185 PetscCall(PetscStrallocpy(value, &loc0_vtype)); in PetscOptionsCreateViewers_Single() 186 PetscCall(PetscStrchr(loc0_vtype, ':', &loc1_fname)); in PetscOptionsCreateViewers_Single() 199 PetscCall(PetscStrendswithwhich(*loc0_vtype ? loc0_vtype : "ascii", viewers, &cnt)); in PetscOptionsCreateViewers_Single() 200 …tscInt)sizeof(viewers) - 1, comm, PETSC_ERR_ARG_OUTOFRANGE, "Unknown viewer type: %s", loc0_vtype); in PetscOptionsCreateViewers_Single() 259 SETERRQ(comm, PETSC_ERR_SUP, "Unsupported viewer %s", loc0_vtype); in PetscOptionsCreateViewers_Single() 270 PetscCall(PetscViewerSetType(*viewer, *loc0_vtype ? loc0_vtype : "ascii")); in PetscOptionsCreateViewers_Single() 303 PetscCall(PetscFree(loc0_vtype)); in PetscOptionsCreateViewers_Single()
|