Home
last modified time | relevance | path

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

/petsc/src/dm/impls/swarm/tests/
H A Dex2.c52 char fstring[PETSC_MAX_PATH_LEN] = "linear"; in ProcessOptions() local
69 …ptionsString("-function", "Name of test function", "ex2.c", fstring, fstring, sizeof(fstring), NUL… in ProcessOptions()
70 PetscCall(PetscStrcmp(fstring, "linear", &flag)); in ProcessOptions()
74 PetscCall(PetscStrcmp(fstring, "sin", &flag)); in ProcessOptions()
78 PetscCall(PetscStrcmp(fstring, "x2_x4", &flag)); in ProcessOptions()
80 PetscCheck(flag, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Unknown function %s", fstring); in ProcessOptions()