Searched refs:numGroups (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex10.c | 11 PetscInt numGroups; /* If greater than 1, use grouping in test */ member 23 options->numGroups = 0; in ProcessOptions() 33 …p permutation by this many label values", "ex10.c", options->numGroups, &options->numGroups, NULL,… in ProcessOptions() 90 PetscErrorCode CreateGroupLabel(DM dm, PetscInt numGroups, DMLabel *label, AppCtx *options) in CreateGroupLabel() argument 97 if (numGroups < 2) { in CreateGroupLabel() 101 …PetscCheck(numGroups == 2, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Test only coded for 2 group… in CreateGroupLabel() 117 PetscCall(CreateGroupLabel(dm, user->numGroups, &label, user)); in TestReorderingByGroup() 146 if (user.numGroups < 1) { in main() 165 if (user.numGroups < 1) { in main()
|
| /petsc/src/sys/fileio/ |
| H A D | ftest.c | 54 int numGroups; in PetscTestOwnership() local 65 numGroups = getgroups(0, gid); in PetscTestOwnership() 66 …PetscCheck(numGroups >= 0, PETSC_COMM_SELF, PETSC_ERR_SYS, "Unable to count supplementary group ID… in PetscTestOwnership() 67 PetscCall(PetscMalloc1(numGroups + 1, &gid)); in PetscTestOwnership() 69 numGroups = 0; in PetscTestOwnership() 78 err = getgroups(numGroups, gid + 1); in PetscTestOwnership() 90 for (g = 0; g <= numGroups; g++) { in PetscTestOwnership()
|