Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/tutorials/
H A Dex5.c13 PetscInt ntimes; /* How many times do the cycle */ member
26 options->ntimes = 2; in ProcessOptions()
35 …OptionsInt("-ntimes", "How many times do the cycle", EX, options->ntimes, &options->ntimes, NULL)); in ProcessOptions()
58 for (i = 0; i < user.ntimes; i++) { in main()
70 mycolor = (PetscMPIInt)(grank > user.ntimes - i); in main()
H A Dex15.c12 PetscInt ntimes; /* How many times do the cycle */ member
23 options->ntimes = 2; in ProcessOptions()
28 …OptionsInt("-ntimes", "How many times do the cycle", EX, options->ntimes, &options->ntimes, NULL)); in ProcessOptions()
201 for (PetscInt i = 0; i < user.ntimes; i++) { in main()
211 mycolor = (PetscMPIInt)(grank > user.ntimes - i); in main()
/petsc/src/ksp/ksp/tutorials/
H A Dex16.c26 PetscInt ntimes, i, j, k, Ii, J, Istart, Iend; in main() local
150 ntimes = 2; in main()
151 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ntimes", &ntimes, NULL)); in main()
152 for (k = 1; k < ntimes + 1; k++) { in main()
H A Dex9.c28 PetscInt ntimes = 3; /* number of times to solve the linear systems */ in main() local
40 PetscCall(PetscOptionsGetInt(NULL, NULL, "-t", &ntimes, NULL)); in main()
155 for (t = 0; t < ntimes; t++) { in main()
/petsc/src/dm/impls/plex/tests/
H A Dex103.c14 PetscInt ntimes; /* How many times do the cycle */ member
25 options->ntimes = 2; in ProcessOptions()
30 …OptionsInt("-ntimes", "How many times do the cycle", EX, options->ntimes, &options->ntimes, NULL)); in ProcessOptions()
397 for (PetscInt i = 0; i < user.ntimes; i++) { in main()
/petsc/doc/manual/
H A Dprofiling.md462 for (i=0; i<ntimes; i++) {