Lines Matching refs:options
14 PetscErrorCode ProcessOptions(AppCtx *options) in ProcessOptions() argument
20 options->numFields = 1; in ProcessOptions()
21 options->numComponents = NULL; in ProcessOptions()
22 options->numDof = NULL; in ProcessOptions()
23 options->numGroups = 0; in ProcessOptions()
26 …dInt("-num_fields", "The number of section fields", "ex10.c", options->numFields, &options->numFie… in ProcessOptions()
27 if (options->numFields) { in ProcessOptions()
28 len = options->numFields; in ProcessOptions()
29 PetscCall(PetscCalloc1(len, &options->numComponents)); in ProcessOptions()
30 …Array("-num_components", "The number of components per field", "ex10.c", options->numComponents, &… in ProcessOptions()
31 …!= options->numFields), PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Length of components array is %" Pe… in ProcessOptions()
33 …ps", "Group permutation by this many label values", "ex10.c", options->numGroups, &options->numGro… in ProcessOptions()
47 PetscErrorCode CreateTestMesh(MPI_Comm comm, DM *dm, AppCtx *options) in CreateTestMesh() argument
90 PetscErrorCode CreateGroupLabel(DM dm, PetscInt numGroups, DMLabel *label, AppCtx *options) in CreateGroupLabel() argument